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: remove --disable-extensions when --load-extension is used #213

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Acelya-9028
Copy link

@Acelya-9028 Acelya-9028 commented Mar 26, 2024

When BrowserConfig::builder().extension("") is used, the default --disable-extensions arg prevent the loading of the extension.

Use the `--disable-blink-features=AutomationControlled` arg to set `navigator.webdriver` to `false`.
@Acelya-9028
Copy link
Author

Acelya-9028 commented Mar 27, 2024

Also, in a second commit, add a function to add a --disable-blink-features=AutomationControlled flag.

EDIT: Ok, I just see enable_stealth_mode() my bad so the last commit is not very useful maybe. I will remove it.

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.

None yet

1 participant