We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9d00a commit bc7e3a1Copy full SHA for bc7e3a1
pydoll/exceptions.py
@@ -239,3 +239,15 @@ class NetworkEventsNotEnabled(PydollException):
239
"""Raised when network events are not enabled."""
240
241
message = 'Network events not enabled'
242
+
243
244
+class ScriptException(PydollException):
245
+ """Base class for exceptions related to JavaScript execution."""
246
247
+ message = 'A script execution error occurred'
248
249
250
+class InvalidScriptWithElement(ScriptException):
251
+ """Raised when a script contains 'argument' but no element is provided."""
252
253
+ message = 'Script contains "argument" but no element was provided'
0 commit comments