nateshmbhat / webbot

Web automation library for simple and easy end to end testing and web browser automation that offers super charged features while keeping it simple to use and master
https://pypi.org/project/webbot/
Mozilla Public License 2.0
239 stars 87 forks source link

How to handle NoSuchElementException #12

Closed vbpatel73 closed 5 years ago

vbpatel73 commented 5 years ago

How I can add NoSuchElementException in my script?

nateshmbhat commented 5 years ago

you can give more attributes like id and class to the functions to get the exact required element. The exception is caused when no such given element exists in the web page.