Answer the question
In order to leave comments, you need to log in
DeprecationWarning: desired_capabilities has been deprecated, please pass in a Service object error in Selenium?
Hello, I got this error when I switched from firefox webdriver to chrome webdriver if I want to specify pageLoadStrategy like this:
caps = DesiredCapabilities().CHROME
caps["pageLoadStrategy"] = "none"
driver = webdriver.Chrome(desired_capabilities=caps)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question