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

"Enhanced ad privacy in Chrome" pop-up #1891

Closed
SgtSobieski opened this issue May 20, 2024 · 2 comments
Closed

"Enhanced ad privacy in Chrome" pop-up #1891

SgtSobieski opened this issue May 20, 2024 · 2 comments

Comments

@SgtSobieski
Copy link

Hi there,

I get the followig pop up and cant control them through that manuell technique which checks the browser informations ( I dont actually know how it is called).
(e.g. def tryDismissGerPrivacyScroll(self):
# Try to dimiss the privacy banner in Germany
with contextlib.suppress(Exception):
self.webdriver.find_element(By.ID, "viewManager").find_element(
By.ID, "moreButton").click()
)

This popup wont vanish automatically and creates itself on each new instance if no choice has been made. I found this issue also described here https://github.com/seleniumbase/SeleniumBase/issues/2201, but dont know if I could merge this information with this repository. Any help what I could do, where I could research or similar are much appreciated!

privacy
privacy2

@ronakpp
Copy link

ronakpp commented May 22, 2024

Try this: chrome_options.add_argument('--disable-features=PrivacySandboxSettings4')

@SgtSobieski
Copy link
Author

Try this: chrome_options.add_argument('--disable-features=PrivacySandboxSettings4')

Exactly. Thanks!

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

No branches or pull requests

2 participants