I'm trying to test with selenium webdriver. My version of selenium is 2.33 and the browser is Firefox. The scripting language is python
Now when I call the method find_element_by_xpath(blabla) If the widget does not exist. The program just gets stuck there with no exception shown. It's just stuck. By the way I have tried find_element_by_id, find_element_by_name, find_elements and changed Firefox to 3.5, 14.0, 21.0, 22.0. The problem always shows up.
Anybody ever got this problem? I just want an exception not just getting stuck. Help...