Last active
July 5, 2016 13:26
-
-
Save Jim-Holmstroem/9ade939a7e7a71eab208137939683960 to your computer and use it in GitHub Desktop.
Get the log from firefox when running it selenium headless
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
from selenium.webdriver import Firefox | |
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary | |
import sys | |
driver = Firefox(firefox_binary=FirefoxBinary(log_file=sys.stdout)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment