Skip to content

Commit 4df7fad

Browse files
committed
Update a method comment
1 parent b55ddf2 commit 4df7fad

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,10 +1515,9 @@ def assert_downloaded_file(self, file):
15151515
assert os.path.exists(self.get_path_of_downloaded_file(file))
15161516

15171517
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:
15221521
* See https://github.com/SeleniumHQ/selenium/issues/1161
15231522
Based on the following Stack Overflow solution:
15241523
* https://stackoverflow.com/a/41150512/7058266 """

0 commit comments

Comments
 (0)