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

Method __new__

py/selenium/webdriver/remote/script.py:171–175  ·  view source on GitHub ↗
(cls, script_id: str, source: str | None = None, realm: str | None = None)

Source from the content-addressed store, hash-verified

169 _realm: str | None
170
171 def __new__(cls, script_id: str, source: str | None = None, realm: str | None = None):
172 instance = super().__new__(cls, script_id)
173 instance._source = source
174 instance._realm = realm
175 return instance
176
177 @property
178 def id(self) -> str:

Callers 1

escapeFunction · 0.45

Calls

no outgoing calls

Tested by 1

escapeFunction · 0.36