selenium_chrome.py 216 Bytes
Newer Older
1 2 3 4 5 6 7 8
from pyvirtualdisplay import Display
from selenium import webdriver

display = Display(visible=0, size=(800, 600))
display.start()
driver = webdriver.Chrome()
driver.get('http://christopher.su')
print( driver.title )