You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Python, if you try to create a webdriver.Remote() instance without passing a driver options.Options() instance as a keyword argument (options), you get the following error:
AttributeError: 'NoneType' object has no attribute 'to_capabilities'
... which isn't very helpful.
This happens if you try to create it with no arguments or try to create it with options.Options() instance as a positional argument.
Reproducible Code
from selenium import webdriver
driver = webdriver.Remote()
Debugging Logs
N/A
The text was updated successfully, but these errors were encountered:
Description
In Python, if you try to create a
webdriver.Remote()
instance without passing a driveroptions.Options()
instance as a keyword argument (options
), you get the following error:... which isn't very helpful.
This happens if you try to create it with no arguments or try to create it with
options.Options()
instance as a positional argument.Reproducible Code
from selenium import webdriver driver = webdriver.Remote()
Debugging Logs
The text was updated successfully, but these errors were encountered: