I'm able to lauch the Brave Browser using Selenium, ChromeDriver and Python
Code trials:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
options = Options()
options.binary_location = r'C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe'
options.add_argument("start-maximized")
options.add_experimental_option("excludeSwitches", ["enable-automation"])
s = Service('C:\\BrowserDrivers\\chromedriver.exe')
driver = webdriver.Chrome(service=s, options=options)
driver.get("https://www.google.com/")
But I'm unable to get rid of the product analytics notification bar almost similar to the Google Chrome notification bar.
Can anyone help me out?
from How to suppress the product analytics notification bar within Brave Browser initiated through Selenium and ChromeDriver using Python
No comments:
Post a Comment