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 920597e commit badaca9Copy full SHA for badaca9
seleniumbase/fixtures/base_case.py
@@ -1699,10 +1699,13 @@ def assert_no_js_errors(self):
1699
# If unable to get browser logs, skip the assert and return.
1700
return
1701
1702
+ messenger_library = "//cdnjs.cloudflare.com/ajax/libs/messenger"
1703
errors = []
1704
for entry in browser_logs:
1705
if entry['level'] == 'SEVERE':
- errors.append(entry)
1706
+ if messenger_library not in entry['message']:
1707
+ # Add errors if not caused by SeleniumBase dependencies
1708
+ errors.append(entry)
1709
if len(errors) > 0:
1710
current_url = self.get_current_url()
1711
raise Exception(
0 commit comments