📜  勇敢的硒窗口 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:09.544000             🧑  作者: Mango

代码示例1
from selenium import webdriver

option = webdriver.ChromeOptions()
option.binary_location = r'C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe'
driver = webdriver.Chrome(executable_path=r'C:\WebDrivers\chromedriver.exe', options=option)
driver.get("https://www.google.com")