Closed vitaly-kiselev-qa closed 3 months ago
Hi
Thank you for the information. I read the description - it sounds really cool. We'll take it in our plans
But right now, instead of using the headless
option, you can set the desired value in the browser arguments:
chrome: {
desiredCapabilities: {
browserName: 'chrome',
'goog:chromeOptions': {
args: ['--headless=new']
}
},
}
you can try it in hermione@8.5.0
@sipayRT It works great! Thank you!
Contribution
Describe the user story
Chrome's Headless mode has got an upgrade recently: https://developer.chrome.com/docs/chromium/new-headless
It states that the new Headless mode is better for automated tests. Is it going to be used in Hermione?
I compared the automated test results with headless option to the results of the
headless=new
test run. There were significantly less failed tests in the second case . So it looks like the new Headless mode is much more compatible with the headful mode.Describe the solution you'd like
Support the new Chrome's Headless mode.
Describe the drawbacks of your solution
No response
Describe alternatives you've considered
No response