Running with headless chrome settings opens a visible maximized chrome instance
See original GitHub issuerunning cypress run --headless --browser chrome
opens a visible maximized (it does not adhere viewportWidth and viewportHeight settings) Chrome instance. I would expect it to run headless with the correct dimensions.
Interestingly, it does report to be running chrome 78 headless:
Cypress: 3.8.0
OS: Microsoft Windows 10 Enterprise Version 10.0.16299 Build 16299
_Originally posted by @Waterstraal in https://github.com/cypress-io/cypress/issues/832#issuecomment-565358299_
Issue Analytics
- State:
- Created 4 years ago
- Reactions:16
- Comments:18 (10 by maintainers)
Top Results From Across the Web
Problem with Chromedriver in Headless mode - Stack Overflow
I have noticed that in my case and worked perfectly.You need add window size as an arguments in headless Mode.I don't know which...
Read more >Getting Started with Headless Chrome - Chrome Developers
It's a way to run the Chrome browser in a headless environment. ... The easiest way to get started with headless mode is...
Read more >Chrome Options & Desired Capabilities in Selenium Webdriver
Below example shows a way to open Chrome browser in maximized mode using ChromeOptions class. We need to pass an instance of ChromeOptions ......
Read more >How to run a headless Chrome browser in Selenium WebDriver.
You need to create an instance Chrome browser. ChromeOptions options = new ChromeOptions();options.addArguments("--headless", "--disable-gpu", " ...
Read more >How to use Chrome options with Selenium WebDriver and ...
How do you maximize a Chrome window when running a Selenium test? You can take control of Chrome by using Chrome options and...
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
Released in
3.8.1
.Hey @WinstonN @gabbersepp @rpocase, this was a bug in Cypress and will be fixed in the next release.