How can i choose and upload file with file opener in protractor . i have do this but it dosen't work : element(by.buttonText('Choose File')).click(); element(by.css('input[type="file"]')).sendKeys('/home/amir/Pictures/peyvast.png');
element(by.buttonText('Choose File')).click(); element(by.css('input[type="file"]')).sendKeys('/home/amir/Pictures/peyvast.png');
Aucun commentaire:
Enregistrer un commentaire