Created
September 24, 2015 19:49
-
-
Save tildedave/8063c40757ad05303a30 to your computer and use it in GitHub Desktop.
executeAsync
This file contains 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
INFO Request: POST /wd/hub/session/23f28a8d-e6a7-4025-99cd-4abf6302e4d2/timeouts/async_script | |
- data: {"ms":10000} | |
- headers: {"Content-Type":"application/json; charset=utf-8","Content-Length":12} | |
INFO Response 200 POST /wd/hub/session/23f28a8d-e6a7-4025-99cd-4abf6302e4d2/timeouts/async_script{ sessionId: '23f28a8d-e6a7-4025-99cd-4abf6302e4d2', | |
status: 0, | |
state: 'success', | |
value: null, | |
class: 'org.openqa.selenium.remote.Response', | |
hCode: 595100226 } | |
LOG → Completed command timeoutsAsyncScript (10 ms) | |
INFO Request: POST /wd/hub/session/23f28a8d-e6a7-4025-99cd-4abf6302e4d2/execute_async | |
- data: {"script":"var passedArgs = Array.prototype.slice.call(arguments,0); return function (callback) {\n var times = 0;\n\n var _checkIfLoaded = function _checkIfLoaded() {\n if (document.readyState === 'complete') {\n callback(times);\n return;\n }\n ++times;\n };\n\n _checkIfLoaded();\n setInterval(_checkIfLoaded, 1000);\n }.apply(window, passedArgs);","args":[]} | |
- headers: {"Content-Type":"application/json; charset=utf-8","Content-Length":407} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment