Skip to content

Instantly share code, notes, and snippets.

@essanpupil
Last active December 5, 2016 17:26
Show Gist options
  • Select an option

  • Save essanpupil/7bbb0a924284fa1db4a8ec24e8fb4e9e to your computer and use it in GitHub Desktop.

Select an option

Save essanpupil/7bbb0a924284fa1db4a8ec24e8fb4e9e to your computer and use it in GitHub Desktop.
Setup ghostdriver.log location for PhantomJS
# taken from http://blog.michaelyin.info/2015/05/18/how-to-disable-ghostdriver-log-when-using-selenium/
driver = webdriver.PhantomJS(service_log_path='/tmp/ghostdriver.log')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment