From b1e0a9f4046fc788861a7855272276f89d43bcff Mon Sep 17 00:00:00 2001 From: Angel Montenegro Date: Thu, 5 Oct 2023 16:03:43 -0600 Subject: [PATCH] Update OrcidBrowser.py --- orcid/OrcidBrowser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/orcid/OrcidBrowser.py b/orcid/OrcidBrowser.py index 07241ba..9755460 100644 --- a/orcid/OrcidBrowser.py +++ b/orcid/OrcidBrowser.py @@ -24,7 +24,10 @@ def __init__(self): print(self.signin_page) print(self.auth_page) print('------------------------------------------') - self.ff = webdriver.Firefox(options=options) + try: + self.ff = webdriver.Firefox(options=options) + except Exception as e: + print("Exception occurred:" + str(e)) else: ops = Options()