File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1515,10 +1515,9 @@ def assert_downloaded_file(self, file):
1515
1515
assert os .path .exists (self .get_path_of_downloaded_file (file ))
1516
1516
1517
1517
def assert_no_js_errors (self ):
1518
- """ Asserts that there are no JavaScript errors on the page.
1519
- Only looks for "SEVERE"-level errors.
1520
- Works best when using Chrome.
1521
- Does NOT work on Firefox:
1518
+ """ Asserts that there are no JavaScript "SEVERE"-level page errors.
1519
+ Works ONLY for Chrome (non-headless) and Chrome-based browsers.
1520
+ Does NOT work on Firefox, Edge, IE, and some other browsers:
1522
1521
* See https://github.com/SeleniumHQ/selenium/issues/1161
1523
1522
Based on the following Stack Overflow solution:
1524
1523
* https://stackoverflow.com/a/41150512/7058266 """
You can’t perform that action at this time.
0 commit comments