diff options
Diffstat (limited to 'node_modules/selenium-webdriver/lib/test/data/errors.html')
-rw-r--r-- | node_modules/selenium-webdriver/lib/test/data/errors.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/selenium-webdriver/lib/test/data/errors.html b/node_modules/selenium-webdriver/lib/test/data/errors.html new file mode 100644 index 000000000..78fb90207 --- /dev/null +++ b/node_modules/selenium-webdriver/lib/test/data/errors.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> + <head> + <script type="text/javascript"> + window.ERRORS = []; + + window.onerror = function(e) { + window.ERRORS.push(e); + }; + </script> + </head> + <body> + <input type="button" value="Throw!" onclick="throw Error('boom!');"/> + </body> +</html> |