Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ptor.findElement(protractor.By.input('canvass.description')).sendKeys('My description');
- var description = ptor.findElement(protractor.By.input('canvass.description'));
- expect(description.getText()).toEqual('My description');
- description.getAttribute('value');
- description.getAttribute('value").then(function(value){
- //Do something with value
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement