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

Class _ClientConfigDescriptor

py/selenium/webdriver/remote/client_config.py:65–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64
65class _ClientConfigDescriptor:
66 def __init__(self, name):
67 self.name = name
68
69 def __get__(self, obj, cls):
70 return obj.__dict__[self.name]
71
72 def __set__(self, obj, value) -> None:
73 if self.name == "_websocket_interval":
74 warnings.warn(
75 "websocket_interval does nothing and will be removed",
76 DeprecationWarning,
77 stacklevel=2,
78 )
79 obj.__dict__[self.name] = value
80
81
82class ClientConfig:

Callers 1

ClientConfigClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected