Skip to content

Instantly share code, notes, and snippets.

@preetshah7
Last active August 18, 2021 09:50
Show Gist options
  • Save preetshah7/622f52104be5b24d52da90645b18fc07 to your computer and use it in GitHub Desktop.
Save preetshah7/622f52104be5b24d52da90645b18fc07 to your computer and use it in GitHub Desktop.
Here's how you start using chromdriver for Selenium on Brave
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
# configuring chrome driver for brave browser
options = Options()
options.binary_location = "C:/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe"
driver_path = "C:/Users/zeels/Desktop/projects/walmart_scraper/chromedriver.exe"
browser = webdriver.Chrome(options=options, executable_path = driver_path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment