mattsse / chromiumoxide

Chrome Devtools Protocol rust API
Apache License 2.0
712 stars 69 forks source link

fix: remove --disable-extensions when --load-extension is used #213

Open Acelya-9028 opened 3 months ago

Acelya-9028 commented 3 months ago

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

Acelya-9028 commented 3 months ago

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.