Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

usong brave browser pyhton

from selenium import webdriver

driver_path = "C:/Users/username/PycharmProjects/chromedriver.exe"
brave_path = "C:/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe"

option = webdriver.ChromeOptions()
option.binary_location = brave_path
# option.add_argument("--incognito") OPTIONAL
# option.add_argument("--headless") OPTIONAL

# Create new Instance of Chrome
browser = webdriver.Chrome(executable_path=driver_path, chrome_options=option)

browser.get("https://www.google.es")
Comment

PREVIOUS NEXT
Code Example
Python :: previous value list loop python 
Python :: python pause 
Python :: how to create list from a to z in python 
Python :: fake migration 
Python :: oppsite of abs() python 
Python :: scientific notation to decimal python 
Python :: dict to array of string python 
Python :: python change comma to dot 
Python :: python tkinter delete label 
Python :: gpu training tensorflow 
Python :: convert 2d list to 1d python 
Python :: python project ideas 
Python :: download youtube audio python 
Python :: python multiply list bt number 
Python :: count number of words in a string python 
Python :: how to add contents of one dict to another in python 
Python :: python set current working directory to script location python 
Python :: code for making an exe file for python 
Python :: matplotlib create histogram edge color 
Python :: Import "dj_database_url" could not be resolved Pylance 
Python :: convert base64 to image python 
Python :: python opencv open camera 
Python :: python loop certain number of times 
Python :: delete turtle 
Python :: delete space in string python 
Python :: python sort 2d list 
Python :: df.shape 0 
Python :: freq count in python 
Python :: python strftime utc offset 
Python :: Get Key From value in dictionary 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =