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

Method __repr__

py/selenium/webdriver/remote/shadowroot.py:47–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 return int(md5_hash(self._id.encode("utf-8")).hexdigest(), 16)
46
47 def __repr__(self) -> str:
48 return '<{0.__module__}.{0.__name__} (session="{1}", element="{2}")>'.format(
49 type(self), self.session.session_id, self._id
50 )
51
52 @property
53 def id(self) -> str:

Callers

nothing calls this directly

Calls 2

typeFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected