Skip to content

Instantly share code, notes, and snippets.

@MiguelCastillo
Created October 24, 2016 02:13
Show Gist options
  • Save MiguelCastillo/bbf9d18874e94fef5c6f98fbfe10a076 to your computer and use it in GitHub Desktop.
Save MiguelCastillo/bbf9d18874e94fef5c6f98fbfe10a076 to your computer and use it in GitHub Desktop.
[22:00:13] Using gulpfile ~//gulpfile.js
[22:00:13] Starting 'selenium'...
[22:00:15] Finished 'selenium' after 1.55 s
[22:00:15] Starting 'google'...
=======================================================================================
Selenium 2.0 / webdriver protocol bindings implementation with helper commands in nodejs.
For a complete list of commands, visit http://webdriver.io/api.html.
=======================================================================================
[22:00:16]  COMMAND POST "/wd/hub/session"
[22:00:16]  DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"chrome","loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.2.16","name":"webdriverio"}}}
[22:00:17]  INFO SET SESSION ID 31850dcf-8d03-499d-a8e7-ae6dcda73f70
[22:00:17]  RESULT {"applicationCacheEnabled":false,"rotatable":false,"mobileEmulationEnabled":false,"networkConnectionEnabled":false,"chrome":{"chromedriverVersion":"2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6)","userDataDir":"/var/folders/76/79415zbs2cd3gl630nf_jy8h0000gp/T/.org.chromium.Chromium.htuJ7E"},"takesHeapSnapshot":true,"pageLoadStrategy":"normal","databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":false,"version":"54.0.2840.71","platform":"MAC","browserConnectionEnabled":false,"nativeEvents":true,"acceptSslCerts":true,"webdriver.remote.sessionid":"31850dcf-8d03-499d-a8e7-ae6dcda73f70","locationContextEnabled":true,"webStorageEnabled":true,"browserName":"chrome","takesScreenshot":true,"javascriptEnabled":true,"cssSelectorsEnabled":true}
[22:00:19]  COMMAND POST "/wd/hub/session/31850dcf-8d03-499d-a8e7-ae6dcda73f70/url"
[22:00:19]  DATA {"url":"https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=bit-bundler"}
[22:00:20]  RESULT null
[22:00:20]  COMMAND POST "/wd/hub/session/31850dcf-8d03-499d-a8e7-ae6dcda73f70/elements"
[22:00:20]  DATA {"using":"css selector","value":"[data-hveid=\"41\"]"}
[22:00:20]  RESULT []
[22:00:20]  COMMAND POST "/wd/hub/session/31850dcf-8d03-499d-a8e7-ae6dcda73f70/elements"
[22:00:20]  DATA {"using":"css selector","value":"[data-hveid=\"41\"]"}
[22:00:21]  RESULT [{"ELEMENT":"0"}]
[22:00:21]  COMMAND POST "/wd/hub/session/31850dcf-8d03-499d-a8e7-ae6dcda73f70/element"
[22:00:21]  DATA {"using":"css selector","value":"[data-hveid=\"41\"]"}
[22:00:21]  RESULT {"ELEMENT":"0"}
[22:00:21]  COMMAND POST "/wd/hub/session/31850dcf-8d03-499d-a8e7-ae6dcda73f70/element/0/elements"
[22:00:21]  DATA {"using":"css selector","value":".r"}
[22:00:21]  RESULT [{"ELEMENT":"1"}]
[22:00:21]  COMMAND GET "/wd/hub/session/31850dcf-8d03-499d-a8e7-ae6dcda73f70/element/1/text"
[22:00:21]  DATA {}
[22:00:21]  RESULT "bit-bundler-browserpack - npm"
[22:00:21]  COMMAND DELETE "/wd/hub/session/31850dcf-8d03-499d-a8e7-ae6dcda73f70"
[22:00:21]  DATA {}
[22:00:21]  RESULT null
------------------------------------------------------------------
[chrome #0a] Session ID: 31850dcf-8d03-499d-a8e7-ae6dcda73f70
[chrome #0a] Spec: //test/specs/badSpec.js
[chrome #0a] Running: chrome
[chrome #0a]
[chrome #0a] Bad test when awaiting google Suite
[chrome #0a]
[chrome #0a] Getting all results container
[chrome #0a] ✓ then the text is all good
[chrome #0a]
[chrome #0a]
[chrome #0a] 1 passing (5s)
[chrome #0a]
[22:00:21] Finished 'google' after 6.13 s
End selenium sessions properly ...
(press crtl+c again to hard kill the runner)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment