Anyway to tell if an element is present in the webpage

Applying eValid to AJAX applications that require advanced DOM-based methods.

Anyway to tell if an element is present in the webpage

Postby MMurdock » Thu Dec 12, 2019 9:40 am

Morning.

Is there an autogenerated method in page-object that can tell if the element is present?

Thanks
MMurdock
 
Posts: 1
Joined: Thu Dec 12, 2019 9:34 am

Re: Anyway to tell if an element is present in the webpage

Postby eValid » Fri Dec 13, 2019 9:25 am

MMurdock wrote:Morning.

Is there an autogenerated method in page-object that can tell if the element is present?

Thanks


Thanks for the question MMurdock.

You have two routes for this:

I. Search for the element and if it is found (no Error messages sent) then you know it is there:

See:

http://e-valid.com/Products/Documentati ... ement.html

II. The other method is to set up a synchronization for some expected-to-be value for that index.

Here is the manual page that applies:

http://e-valid.com/Products/Documentati ... n.dom.html


-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons