Page 1 of 1

Anyway to tell if an element is present in the webpage

PostPosted: Thu Dec 12, 2019 9:40 am
by MMurdock
Morning.

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

Thanks

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

PostPosted: Fri Dec 13, 2019 9:25 am
by eValid
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