MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / __set__

Method __set__

py/selenium/webdriver/common/options.py:157–161  ·  view source on GitHub ↗
(self, obj, value)

Source from the content-addressed store, hash-verified

155 return obj._proxy
156
157 def __set__(self, obj, value):
158 if not isinstance(value, Proxy):
159 raise InvalidArgumentException("Only Proxy objects can be passed in.")
160 obj._proxy = value
161 obj._caps[self.name] = value.to_capabilities()
162
163
164class BaseOptions(metaclass=ABCMeta):

Callers

nothing calls this directly

Calls 2

to_capabilitiesMethod · 0.45

Tested by

no test coverage detected