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

Class ScriptKey

py/selenium/webdriver/remote/script_key.py:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21class ScriptKey:
22 def __init__(self, id=None):
23 self._id = id or uuid.uuid4()
24
25 @property
26 def id(self):
27 return self._id
28
29 def __eq__(self, other):
30 return self._id == other
31
32 def __repr__(self) -> str:
33 return f"ScriptKey(id={self.id})"

Callers 2

pin_scriptMethod · 0.90

Calls

no outgoing calls