from selenium.webdriver.common import keys from pyvirtualdisplay import Display import os from selenium import webdriver chromedriver = "/usr/local/bin/chromedriver" os.environ["webdriver.chrome.driver"] = chromedriver display = Display(visible=0, size=(1024,768)) display.start() br = webdriver.Chrome(chromedriver) br.get("http://ya.ru")
четверг, 9 марта 2017 г.
Running headless chrome with selenium python driver
Подписаться на:
Комментарии к сообщению (Atom)
1 комментарий:
Harrah's Resort Casino Tunica Jobs - KT Hub
Harrah's Resort 사천 출장마사지 Casino 거제 출장샵 Tunica Jobs 의왕 출장안마 · Casinos · Casino Services · Casino 전라북도 출장마사지 Services · Casino Sales 밀양 출장안마 and General Information · Gaming
Отправить комментарий