Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isHeadless method is not working for Chrome headless #750

Closed
sukhjinder-sdei opened this issue May 29, 2018 · 0 comments · Fixed by #751
Closed

isHeadless method is not working for Chrome headless #750

sukhjinder-sdei opened this issue May 29, 2018 · 0 comments · Fixed by #751
Assignees
Labels
Milestone

Comments

@sukhjinder-sdei
Copy link

We are not getting the right value for isHeadless() in the case using chrome headless

       Configuration.browser = WebDriverRunner.CHROME;
        Configuration.headless=true;

WebDriverRunner.isHeadless() This method is returning false.

Tell us about your environment

  • **Selenide Version:**4.11.4
  • Chrome 66.0.3359.181
  • Browser Driver Version: 2.38.551601
  • OS Version: Win 10

Code To Reproduce Issue

Configuration.browser = WebDriverRunner.CHROME;
Configuration.headless=true;
open("anyurl");

WebDriverRunner.isHeadless()

@rosolko rosolko added this to the 4.12.0 milestone May 29, 2018
@rosolko rosolko self-assigned this May 29, 2018
BorisOsipov added a commit that referenced this issue May 29, 2018
Extend isHeadless method with configuration value. Fix #750 issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants