Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
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?
Solved! Go to Solution.
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?
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.
Thanks,
Ryan, AppDynamics Community Manager
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form