openwpm.deploy_browsers.selenium_firefox module

Workarounds for Selenium headaches.

class openwpm.deploy_browsers.selenium_firefox.FirefoxLogInterceptor(browser_id: BrowserId)[source]

Bases: Thread

Intercept logs from Selenium and/or geckodriver, using a named pipe and a detached thread, and feed them to the primary logger for this instance.

run() None[source]

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.