in reply to Re^6: Error Handling in Selenium
in thread Error Handling in Selenium

Hi Hauke,

Firstly, the die workaround you suggested will not work as I have already tested it. Secondly, even if you change the find_element_by_xpath to find_element it is still not stopping the script execution nor throwing any error.Please suggest any method by which I can call a mail notification sub if any element is not found. Since I am using xpath I can use both find_element_by_xpath as well as find_element.

Thanks for the help.

Replies are listed 'Best First'.
Re^8: Error Handling in Selenium
by Anonymous Monk on Nov 22, 2016 at 07:55 UTC