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

Method __eq__

py/selenium/webdriver/remote/script_key.py:29–32  ·  view source on GitHub ↗
(self, other: object)

Source from the content-addressed store, hash-verified

27 return self._id
28
29 def __eq__(self, other: object) -> bool:
30 if isinstance(other, ScriptKey):
31 return self._id == other._id
32 return self._id == other
33
34 def __hash__(self) -> int:
35 return hash(self._id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected