Closed beencanteen closed 2 years ago
I was wondering if there is a way to disable the terminal logging statements that begin with
The pref that controls the Torbutton log level is: extensions.torbutton.loglevel
You may want to try different levels to find the one that suits your needs.
I was also wondering how you can disable JavaScript. Here is what I have tried:
You can set the security level to "High" ( "Safest") to disable JavaScript. See the test here: https://github.com/webfp/tor-browser-selenium/blob/main/tbselenium/test/test_set_security_level.py#L84
Sorry for the delayed response.
The pref that controls the Torbutton log level is:
extensions.torbutton.loglevel
Can you get code of this? I don't understand how to change extersions value
Would be something like this:
with TorBrowserDriver(TBB_PATH, pref_dict={'extensions.torbutton.loglevel': LOG_LEVEL}) as driver:
driver.load_url(...)
I was wondering if there is a way to disable the terminal logging statements that begin with
I was also wondering how you can disable JavaScript. Here is what I have tried: