AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Linux brave browser5/13/2023 ![]() To initiate a Brave browser session additionally you have to pass the absolute location of the brave-browser binary through the binary_location argument of an instance of ChromeOptions. ![]() The executable_path key is used to pass the absolute path of the WebDriver binary i.e. ![]() : Message: Service /usr/bin/brave-browser unexpectedly exited. This opens a Brave window but then instead of getting the page the driver is pointed to, an exception is thrown, Traceback (most recent call last):įile "/home/username/.local/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in _init_įile "/home/username/.local/lib/python3.6/site-packages/selenium/webdriver/common/service.py", line 98, in startįile "/home/username/.local/lib/python3.6/site-packages/selenium/webdriver/common/service.py", line 111, in assert_process_still_running Then I run this code, from selenium import webdriverĭriver = webdriver.Chrome(executable_path='/usr/bin/brave-browser') 126 chromedriver is also in /user/bin, ~/path $ cd /usr/bin/Īnd to check the Brave version, I get: Version 0.68.132 Chromium. ![]() I made sure that my Brave and Chromedriver are on the same version like this, ~/some/path $ chromedriver -versionĬhromeDriver. Brave is based on chromium so I guessed it should not be that hard. I switched from Google's Chrome to Brave web browser and am having a hard time getting it to work with Brave like it did with Chrome. ![]()
0 Comments
Read More
Leave a Reply. |