Is there a Selenium driver for Brave browser?

I´m using NightWatch in Chrome installing the WebDriver called “ChromeDriver”
It is possible use NightWatch with Brave Browser?
exist a special driver for it?
thanks in advance

We are using alternate to run scripts in brave browser. Please refer http://mundrisoft.com/tech-bytes/how-to-execute-selenium-script-in-brave-browser/ for more details.

I need a python tutorial. this tutorial is written in Java. I am also running Selenium version 4.0.0 brave browser and chrome driver match versions at chromium version 95.0.4638.69 I’m a noob with programming. please help.

Had the same problem, mine worked like this:


from selenium import webdriver

from selenium.webdriver.chrome.service import Service

chromedriver = "/chromedriver"

option = webdriver.ChromeOptions()

option.binary_location = '/Applications/Brave Browser.app/Contents/MacOS/Brave Browser'

s = Service(chromedriver)

driver = webdriver.Chrome(service=s, options=option)

driver.get("https://google.com")

Hope it helps! Otherwise if you are just looking to learn selenium, I would suggest you to install chrome and use selenium with it. Then you can ignore the options configs.

1 Like

yes this code works for mac. I had to edit the paths to my resources on windows.

However. It doesn’t work when I want to use webdriver_manager which takes care of updating the web driver software.