I searched documentation for the argument service_args for the chrome webdriver, and I found the following pages: here and here, which unfortunately do not contain any useful content to answer my question.
So where can I find proper documentation on the service_args argument?
service_args are used inconjunction with chromedriver binary to pass the List of args to the chromedriver service
An example would be to pass the parameters e.g. log file path, to ignore ssl errors, any ssl protocol as follows :
service_args=["--log-path=D:\\Alex.log", "--ignore-ssl-errors=true", "--ssl-protocol=any"]
Your line of code will be :
driver = webdriver.Chrome(executable_path=r'C:\Utility\BrowserDrivers\chromedriver.exe', service_args=["--log-path=D:\\qc1.log", "--ignore-ssl-errors=true", "--ssl-protocol=any"])
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With