Advertisement
Guest User

Untitled

a guest
Feb 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <button class="btn btn-primary" autofocus="" ng-click="ok()" tabindex="0">OK</button>
  2.  
  3. tell application "Google Chrome"
  4. delay 3
  5. execute front window's tab 1 javascript "document.getElementsByClass('btn btn-primary')[0].click();"
  6. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement