question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running with headless chrome settings opens a visible maximized chrome instance

See original GitHub issue

running 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: image

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:closed
  • Created 4 years ago
  • Reactions:16
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
cypress-bot[bot]commented, Dec 26, 2019

Released in 3.8.1.

3reactions
flotwigcommented, Dec 20, 2019

Hey @WinstonN @gabbersepp @rpocase, this was a bug in Cypress and will be fixed in the next release.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found