import time
from selenium import webdriver
#找到谷歌浏览器的驱动的路径
from selenium.webdriver import ActionChains
#chrome设置代理
chrom_options = webdriver.ChromeOptions()
browser = webdriver.Chrome(executable_path = ‘/cdrom/chromedriver’,chrome_options=chrom_options)
#chrome.exe --remote-debugging-port=9222 --user-data-dir=“C:\selenum\AutomationProfile”
browser.get(‘https://www.zhihu.com/signup?next=%2F’)
time.sleep(5)