You can disable the browser notifications, using chrome options. Sample code below:
chrome_options = webdriver.ChromeOptions()
prefs = {"profile.default_content_setting_values.notifications" : 2}
chrome_options.add_experimental_option("prefs",prefs)
driver = webdriver.Chrome(chrome_options=chrome_options)
More Related Contents:
- Unable to locate element of credit card number using selenium python
- Selenium – MoveTargetOutOfBoundsException with Firefox
- Selenium-Debugging: Element is not clickable at point (X,Y)
- selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element while trying to click Next button with selenium
- How to make Firefox headless programmatically in Selenium with Python?
- How do you use EC.presence_of_element_located((By.ID, “myDynamicElement”)) except to specify class not ID
- Error Message: ‘chromedriver’ executable needs to be PATH
- Filling in login forms in Instagram using selenium and webdriver (chrome) python OSX
- Clicking on Get Data button for Monthly Settlement Statistics on nseindia.com doesn’t fetch results using Selenium and Python
- Downloading file to specified location with Selenium and python
- Expected conditions in protractor
- How to rotate Selenium webrowser IP address
- How do you fix the “element not interactable” exception?
- ‘list’ object has no attribute ‘get_attribute’ while iterating through WebElements
- Access to table objects on Webpage Using Python Selenium
- How to open multiple webpages in separate tabs within a browser using selenium-webdriver and python
- How to open a link embeded in a webelement with in the main tab, in a new tab of the same window using Control + Click of Selenium Webdriver
- How to ignore zoom setting
- OSError: [Errno 8] Exec format error with GeckoDriver and Selenium on MacOS
- Python and how to get text from Selenium element WebElement object?
- Selenium using too much RAM with Firefox
- How to test non-standard drop down lists through a crawler using Selenium and Python
- How can I get text of an element in Selenium WebDriver, without including child element text?
- Python selenium: wait until element is clickable – not working
- How locate the pseudo-element ::before using Selenium Python
- How can we use Selenium Webdriver in colab.research.google.com?
- Selenium – visibility_of_element_located: __init__() takes exactly 2 arguments (3 given)
- Python Selenium driver.execute_script WebDriverException: Message: unknown error: call function result missing ‘value’
- __init__() takes 2 positional arguments but 3 were given using WebDriverWait and expected_conditions as element_to_be_clickable with Selenium Python
- How do I get current URL in Selenium Webdriver 2 Python?