Add headless mode for firefox and edge
What does this MR do and why?
What:
- Add headless mode for
firefox
andedge
. - Fix acceptinsecurecerts error for
firefox
.
Why: - The headless mode is not working for
firefox
andedge
- There are
Invalid moz:firefoxOptions field acceptInsecureCerts
forfirefox
currently
Add headless mode for firefox and edge
changes:
- Add headless mode for firefox and edge
- Fix firefox acceptInsecureCerts error
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Goto qa directory and shell add ENV variables
QA_BROWSER
# for firefox QA_BROWSER=firefox WEBDRIVER_HEADLESS=1 bundle exec bin/qa Test::Instance::All <test instance>-- -e 'Verify Pipeline API defined variable inheritance is determined based on forward:pipeline_variables condition' # for edge QA_BROWSER=edge WEBDRIVER_HEADLESS=1 bundle exec bin/qa Test::Instance::All <test instance>-- -e 'Verify Pipeline API defined variable inheritance is determined based on forward:pipeline_variables condition'
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
/cc @daveliu