Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Click Element Using JavaScript Xpath ${xpath}
  2. [Documentation]
  3. ... Click element using javascript while passing location using xpath
  4. Execute JavaScript document.evaluate('${xpath}',document.body,null,9,null).singleNodeValue.click();
  5.  
  6. Click Element Using JavaScript Id ${ID}
  7. [Documentation]
  8. ... Click element using javascript while passing location using id
  9. Execute JavaScript document.getElementById('${ID}').onclick()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement