有没有人知道centos7 下 selenium+ chrome慢成翔什么原因?
display = Display(visible=0, size=(800, 600)) display.start() chrome_options = webdriver.ChromeOptions() chrome_options.add_argument("--no-sandbox") chrome_options.add_argument("--user-data-dir") chromedriver = "/usr/local/bin/chromedriver" os.environ["webdriver.chrome.driver"] = chromedriver driver = webdriver.Chrome(executable_path=chromedriver, port=9515, desired_capabilities=chrome_options.to_capabilities(),) driver.set_page_load_timeout(30) driver.implicitly_wait(5)
付费偷看金额在0.1-10元之间
一周热门 更多>