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

Method __set__

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

Source from the content-addressed store, hash-verified

57 return obj._caps.get(self.name)
58
59 def __set__(self, obj, value):
60 if self.name == "enableBidi":
61 obj.set_capability("webSocketUrl", value)
62 else:
63 obj.set_capability(self.name, value)
64
65
66class _PageLoadStrategyDescriptor:

Callers

nothing calls this directly

Calls 1

set_capabilityMethod · 0.80

Tested by

no test coverage detected