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

Function wrapper

py/selenium/webdriver/common/virtual_authenticator.py:199–204  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

197
198 @functools.wraps(func)
199 def wrapper(self, *args, **kwargs):
200 assert self.caps["browserName"].lower() not in [
201 "firefox",
202 "safari",
203 ], "This only currently works in Chromium based browsers"
204 return func(self, *args, **kwargs)
205
206 return wrapper
207

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected