Skip to content

Commit

Permalink
Unsilence get_webdriver errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Feb 8, 2023
1 parent e48674a commit ff3e0a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dash/testing/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,7 @@ def open_new_tab(self, url=None):
)

def get_webdriver(self):
try:
return getattr(self, f"_get_{self._browser}")()
except WebDriverException:
logger.exception("<<<Webdriver not initialized correctly>>>")
return None
return getattr(self, f"_get_{self._browser}")()

def _get_wd_options(self):
options = (
Expand Down

0 comments on commit ff3e0a6

Please sign in to comment.