in reply to Re^3: Error Handling in Selenium
in thread Error Handling in Selenium
Hi Hauke, Sorry for the "not working" thing. The problem I am facing is find_element throws error which are captured by the Webdriver prompt but it does not throws error to the command prompt and execution goes till the end of script. So I wanted a way so that the script stops execution if any element is not found. Can you please suggest any way of doing so as I have seen posts were eval is being used in this sense only but it did not work on mine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Error Handling in Selenium
by Corion (Patriarch) on Nov 18, 2016 at 07:37 UTC | |
|
Re^5: Error Handling in Selenium
by soonix (Chancellor) on Nov 18, 2016 at 13:39 UTC | |
|
Re^5: Error Handling in Selenium
by haukex (Archbishop) on Nov 20, 2016 at 19:22 UTC | |
|
Re^5: Error Handling in Selenium
by 9mohit2 (Sexton) on Nov 21, 2016 at 06:44 UTC | |
by haukex (Archbishop) on Nov 21, 2016 at 16:54 UTC | |
by 9mohit2 (Sexton) on Nov 22, 2016 at 06:59 UTC | |
by Anonymous Monk on Nov 22, 2016 at 07:55 UTC |