SeleniumBase icon indicating copy to clipboard operation
SeleniumBase copied to clipboard

Turn on ad privacy feature appears after repeated usage

Open bjornkarlsson opened this issue 1 year ago • 0 comments

image

This appears after resolving a few urls from the same domain (about 5 calls before the pop up show up), each call is followed by the following instructions to reset session and cookies as following:

        driver.execute_script('window.localStorage.clear(); window.sessionStorage.clear();')
        driver.delete_all_cookies()
        driver.get('about:blank')

This is required because after only a few requests within the same session (in a frequency of 30 seconds) will result in a ban of my ip. Pretty aggressive blocking.

I am not setting any user-data directory as I have seen this issue was resolved:

https://github.com/seleniumbase/SeleniumBase/issues/2201

Is there any way to pass ChromeOptions directly to the Driver instantiation?

bjornkarlsson avatar May 23 '24 18:05 bjornkarlsson