h8rt3rmin8r

chromeserver-test

Sep 9th, 2018
177
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from pyvirtualdisplay import Display
  2. from selenium import webdriver
  3.  
  4. display = Display(visible=0, size=(800, 600))
  5. display.start()
  6. driver = webdriver.Chrome()
  7. driver.get('https://glitchpad.com/')
  8. print driver.title
RAW Paste Data