-
Notifications
You must be signed in to change notification settings - Fork 2
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
Additional ChromeOptions #1
Comments
First, you have to understand how Kameleo is working with Selenium. I'll describe it for you:
However there is a solution how you can provide additional web driver options. There is a See our example code.
Please note that there are arguments we are not supporting, as that may cause issues and it may stop our spoofing mechanism to work. I see that you use this flag:
This is cannot be added, since the built-in browsers are preinstalled with Kameleo's extension. If you remove it, the spoofing won't work. I see you want to use this flag as well:
You can simply set WebGL to Block with this call:
It will result in the "disable-3d-apis" flag Using an incognito window is not necessary. The spoofing is working in the regular mode (not incognito), and it won't be suspicious for websites. Please note that the spoofing in the incognito mode is not working yet. Currently, there is no opportunity to start the browser in headless mode. But this is something we will support in the future. What other WebDriver configs are must-haves for you? |
Headless mode is now supported and it was the same anti-detect mode as the headful profiles, so feel free to save some resources. More info here.
|
Been testing now whole day. Noticed something strange.
I want to add my additional ChromeOptions to my driver, especially be able to run things in "headless" mode.
Even if i define the Chromeoptions above and create the RemoteWebDriver with these options, the chrome browser does still popup and not run as headless.
How come and how do i add my additional options?
The text was updated successfully, but these errors were encountered: