Skip to content

Commit

Permalink
improvements for drivers without internet
Browse files Browse the repository at this point in the history
  • Loading branch information
s.pirohov committed Jul 11, 2022
1 parent 69bc257 commit 59407cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webdriver_manager/drivers/opera.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ def tagged_release_url(self, version):

def get_browser_type(self):
return "opera"

def get_browser_version(self):
try:
return super().get_browser_version()
except:
return "latest"

0 comments on commit 59407cb

Please sign in to comment.