Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save philipwalton/464d5acfea8e07d18215bac9244e60f8 to your computer and use it in GitHub Desktop.
Save philipwalton/464d5acfea8e07d18215bac9244e60f8 to your computer and use it in GitHub Desktop.
WebdriverIO log (2017-04-03)
[16:54:43] COMMAND POST "/wd/hub/session"
[16:54:43] DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"chrome","loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}}}
[16:54:44] INFO SET SESSION ID e1f26aa1-9834-4891-b653-3d00282ef8a1
[16:54:44] RESULT {"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":false,"chrome":{"chromedriverVersion":"2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6)","userDataDir":"/var/folders/tn/jvvbl2tn0h52glcy9r49q2d00073gj/T/.org.chromium.Chromium.k1JYf7"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":true,"version":"57.0.2987.133","platform":"MAC","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"e1f26aa1-9834-4891-b653-3d00282ef8a1","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true}
[16:54:44] COMMAND GET "/wd/hub/session/e1f26aa1-9834-4891-b653-3d00282ef8a1/window_handles"
[16:54:44] DATA {}
[16:54:44] RESULT ["CDwindow-2575b8ff-96c1-492e-acfe-b8f36dc9aa0d"]
[16:54:44] COMMAND POST "/wd/hub/session/e1f26aa1-9834-4891-b653-3d00282ef8a1/execute"
[16:54:44] DATA {"script":"return (function (url) {\n var a = document.createElement('a');\n a.href = url || '/test/e2e/fixtures/blank.html';\n a.id = 'new-tab-link';\n a.target = '_blank';\n a.innerHTML = 'foo';\n a.setAttribute('style', 'position:fixed;top:0;left:0;right:0;bottom:0');\n a.onclick = function (event) {\n console.log(event);\n console.log(event.button);\n event.preventDefault();\n };\n a.onauxclick = function (event) {\n console.log(event);\n console.log(event.button);\n event.preventDefault();\n };\n document.body.appendChild(a);\n }).apply(null, arguments)","args":["/test/e2e/fixtures/autotrack.html?tab=2"]}
[16:54:44] RESULT null
[16:54:44] COMMAND POST "/wd/hub/session/e1f26aa1-9834-4891-b653-3d00282ef8a1/element"
[16:54:44] DATA {"using":"id","value":"new-tab-link"}
[16:54:44] RESULT {"ELEMENT":"0"}
[16:54:45] COMMAND POST "/wd/hub/session/e1f26aa1-9834-4891-b653-3d00282ef8a1/element/0/click"
[16:54:45] DATA {}
[16:54:45] RESULT null
[16:54:45] COMMAND POST "/wd/hub/session/e1f26aa1-9834-4891-b653-3d00282ef8a1/element"
[16:54:45] DATA {"using":"id","value":"new-tab-link"}
[16:54:45] RESULT {"ELEMENT":"0"}
[16:54:45] COMMAND POST "/wd/hub/session/e1f26aa1-9834-4891-b653-3d00282ef8a1/moveto"
[16:54:45] DATA {"element":"0"}
[16:54:45] RESULT null
[16:54:45] COMMAND POST "/wd/hub/session/e1f26aa1-9834-4891-b653-3d00282ef8a1/click"
[16:54:45] DATA {"button":1}
[16:54:45] RESULT null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment