![]() This is an older version of Selenium, and calling it from the scripting language, I believe. If you have noticed then we have done the same thing for Chrome and IE browser as well in previous posts. Related question: In Selenium, how do I turn off logging? If you are using Selenium 3 or 4 then in order to work with the Firefox browser you need to use separate a driver that will interact with the Firefox browser. I don't otherwise have to instantiate one of these, and it takes a lot of parameters (which host? what port?) that I am not expecting to have to provide.Ĭlearly, I am misunderstanding something.Ĭan someone please explain either (a) how to turn off logging, or (b) what service is it that .selenium (I may have got carried away there, sorry!) wants to talk to? I can see there is a method called set_browser_log_level(logLevel) which sounds promising, but to get to it, I need to instantiate a object. I have been running around trying to RTFM, but this is a new version of Selenium (2.19.0) and the manuals aren't written yet! I am trying to turn it off (or at least down). How to disable logging using Selenium with Python binding driver webdriver.Chrome (servicelogpath'/dev/null') You may set options. ![]() ![]() ![]() It is logging copious amounts of data to /tmp on Ubuntu - so much that it is becoming a problem. I've recently inherited some Selenium Webdriver code, written in Python 2.7.
0 Comments
Leave a Reply. |