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

fix: disable chrome search engine selection #1818

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

sissbruecker
Copy link
Contributor

Fixes #1817

options.addArguments("--test-type ");
// Disable search engine choice screen
options.addArguments("--disable-search-engine-choice-screen");
Copy link
Contributor Author

@sissbruecker sissbruecker Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if the search engine selection should be disabled for other types of tests too.

However for local tests it's problematic because it seems that you can't customize the Chrome options in your test code - the method here ignores just ignores the capabilities passed in, so even if you would try to add this argument in your test setup it doesn't work. For example, I tried to configure the argument in flow-components here, but the capabilities created from that are ignored.

@Artur- Artur- enabled auto-merge (squash) August 23, 2024 08:04
@Artur- Artur- merged commit c59547a into main Aug 23, 2024
2 checks passed
@Artur- Artur- deleted the fix/disable-chrome-search-engine-selection branch August 23, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Local Chrome driver in non-headless mode shows search engine selection
2 participants