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

[🚀 Feature]: #1570

Closed
lin423497786 opened this issue Jan 30, 2024 · 2 comments
Closed

[🚀 Feature]: #1570

lin423497786 opened this issue Jan 30, 2024 · 2 comments
Labels
I-question Further information is requested

Comments

@lin423497786
Copy link

Feature and motivation

How to disable notifications in the browser, I have tried the following 2 ways, but it doesn't work, the notifications will still be displayed

options = Options()
prefs = {'profile.default_content_setting_values': {'notifications': 2}}
options.add_experimental_option('prefs', prefs)
options.add_argument("--disable-notifications")
driver = webdriver.Chrome(
executable_path=driver_file_path,
options=options
)
5

Copy link
Contributor

@lin423497786, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol diemol added I-question Further information is requested and removed needs-triaging labels Jan 30, 2024
Copy link
Contributor

💬 Please ask questions at:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants