(self, *args, **kwargs)
| 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 |