- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
arthurva
Explorer
07-13-2020
11:08 AM
Below is a snippet of code that is working locally, but not in AppD. The specific line is `driver.quit()`
try:
time.sleep(1)
elementName = '//*[@id="ClaimSearch:ClaimSearchScreen:_msgs"]'
WebDriverWait(driver,30).until(EC.element_to_be_clickable((By.XPATH, "" + elementName + "")))
time.sleep(1)
driver.quit()
except:
print("Did not see a Message")
Continue with script...
Is there a different way to quit?
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
arthurva
Explorer
07-22-2020
11:09 AM
I resolve the issue by moving the code outside of a try/except section and also added quit() after driver.quit()
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Community Manager
07-14-2020
01:34 PM
Hi @Arthur.Valijan,
Thanks for asking this question on the community. I see you also created a support ticket. If support is able to help you with an outcome, can you please share it back on this post.
This helps drive knowledge sharing in the community.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
arthurva
Explorer
07-22-2020
11:09 AM
I resolve the issue by moving the code outside of a try/except section and also added quit() after driver.quit()
