Last active
November 9, 2017 19:21
-
-
Save kohenkatz/6036b6d85efdd5e237016c3a2eaec16a to your computer and use it in GitHub Desktop.
Mojo Wifi Testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
-- if it is running then | |
-- quit | |
-- delay 5 | |
-- end if | |
activate | |
open location "http://www.dslreports.com/speedtest" | |
delay 1 | |
activate | |
delay 1 | |
do javascript "window.addEventListener('load', function() { | |
safe_start(8); | |
})" in front document | |
end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
-- if it is running then | |
-- quit | |
-- delay 5 | |
-- end if | |
activate | |
open location "https://beta.speedtest.net/" | |
delay 1 | |
activate | |
delay 1 | |
do javascript "window.addEventListener('load', function() { | |
document.getElementsByClassName('js-start-test')[0].click(); | |
})" in front document | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment