Support for headless chrome
See original GitHub issueHi!
Since version 58, Chrome can run in headless mode. I wanted to try it out with the following code:
Selenium::WebDriver.for :chrome, switches: %w[--disable-gpu --headless]
This resulted with Selenium::WebDriver::Error::UnknownError: unknown error: unrecognized Chrome version: HeadlessChrome/58.0.3029.96
so I tried:
Selenium::WebDriver.for :chrome, switches: %w[--disable-gpu --headless --remote-debugging-port=9222], port: 9222
But the result was Net::ReadTimeout: Net::ReadTimeout
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Getting Started with Headless Chrome - Chrome Developers
A headless browser is a great tool for automated testing and server environments where you don't need a visible UI shell. For example,...
Read more >Headless Chromium
Headless Chromium allows running Chromium in a headless/server environment. Expected use cases include loading web pages, extracting metadata (e.g., ...
Read more >The Beginner's Guide to Chrome Headless
What is Headless Chrome? Why use it and what can you do with it? This post has all the answers you need to...
Read more >What is Google Chrome Headless Mode - DebugBar
The headless mode of the Google Chrome browser provides the ability to implement and run massive-scale web app tests, navigate from one page...
Read more >706008 - Extensions support in headless Chrome - Monorail
Headless mode doesn't currently support extensions, and it's not clear whether we can support them easily -- although we are doing some ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@lmtierney My bad. I was looking at this list of chromedrivers and was under the impression that
2.9
was newer than2.33
.@Windso
2.9
is extremely old.2.33
is the latest