Description
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