import os,time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
chromedriver = ‘C:\Program Files (x86)\GoogleChromePortable\App\Chrome-bin\chromedriver.exe‘
options = webdriver.ChromeOptions()
options.add_argument(‘--ignore-certificate-errors‘)
driver = webdriver.Chrome(executable_path=chromedriver,chrome_options=options)
driver.get(‘https://192.168.200.31/‘)
时间: 2024-10-05 21:30:29