Last active
December 5, 2016 17:26
-
-
Save essanpupil/7bbb0a924284fa1db4a8ec24e8fb4e9e to your computer and use it in GitHub Desktop.
Setup ghostdriver.log location for PhantomJS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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