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

Method __eq__

py/selenium/webdriver/remote/shadowroot.py:41–42  ·  view source on GitHub ↗
(self, other_shadowroot)

Source from the content-addressed store, hash-verified

39 self._id = id_
40
41 def __eq__(self, other_shadowroot) -> bool:
42 return self._id == other_shadowroot._id
43
44 def __hash__(self) -> int:
45 return int(md5_hash(self._id.encode("utf-8")).hexdigest(), 16)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected