Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created August 3, 2020 01:47
Show Gist options
  • Save seleniumgists/9b3678bef76050753aa3984822bb9f0f to your computer and use it in GitHub Desktop.
Save seleniumgists/9b3678bef76050753aa3984822bb9f0f to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
irb(main):011:0> @driver = Selenium::WebDriver.for(:chrome, options: caps)
2020-08-03 10:46:20 WARN Webdrivers Driver caching is turned off in this version, but will be enabled by default in 4.x. Set the value with `Webdrivers#cache_time=` in seconds
2020-08-03 10:46:21 DEBUG Selenium Executing Process ["/Users/will/.webdrivers/chromedriver", "--port=9519"]
2020-08-03 10:46:21 DEBUG Selenium polling for socket on ["127.0.0.1", 9519]
Starting ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}) on port 9519
Only local connections are allowed.
Please see <https://chromedriver.chromium.org/security-considerations> for suggestions on keeping ChromeDriver safe.
[1596419181.090][WARNING]: FromSockAddr failed on netmask
[1596419181.090][WARNING]: FromSockAddr failed on netmask
[1596419181.090][WARNING]: FromSockAddr failed on netmask
ChromeDriver was started successfully.
2020-08-03 10:46:21 INFO Selenium -> POST session
2020-08-03 10:46:21 INFO Selenium >>> <http://127.0.0.1:9519/session> | {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"ANY","javascriptEnabled":true,"cssSelectorsEnabled":true,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"goog:chromeOptions":{"prefs":{"enable-webrtc-hide-local-ips-with-mdns":false}}},"capabilities":{"firstMatch":[{"browserName":"chrome","goog:chromeOptions":{"prefs":{"enable-webrtc-hide-local-ips-with-mdns":false}}}]}}
2020-08-03 10:46:21 DEBUG Selenium > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/3.142.7 (ruby macosx)", "Content-Length"=>"410"}
2020-08-03 10:46:22 INFO Selenium <- {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"84.0.4147.105","chrome":{"chromedriverVersion":"84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310})","userDataDir":"/var/folders/g7/lkml7xr91ybfshcp5n488z700000gp/T/.com.google.Chrome.8R0Tri"},"goog:chromeOptions":{"debuggerAddress":"localhost:56252"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"mac os x","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify","webauthn:virtualAuthenticators":true},"sessionId":"98f7666caa954e5b7f2a076fb8c23200"}}
2020-08-03 10:46:22 INFO Selenium Detected W3C dialect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment