0

I wrote a script that uses Selenium with Python. When I run the script, it creates a log file in the script directory. When I use the Firefox driver, a geckodriver.log file is created.

Is there an option to set to disable this?

jacksc0tt
  • 11
  • 4
  • you can set the log file to null for the firefox driver instance. (also love your name/picture) check out `log_file:`. https://selenium-python.readthedocs.io/api.html#module-selenium.webdriver.common.service – Josh Adams Nov 18 '22 at 14:34
  • I guess this answers your question: https://stackoverflow.com/questions/50109910/how-do-i-relocate-disable-geckodrivers-log-file-in-selenium-python-3 – Dmitriy Neledva Nov 18 '22 at 14:36

0 Answers0