ḥari
2 years agoFrequent Contributor
To find element is present or not
Hi
I want to verify the element is not available in the page.
If I use findelement it throws error and if I use waitelement it will return the object.
Using find element == page. Findelement ("xpath")
It throws error as unable to find the object
Using wait element it returns true but for my verification the element is not there so it need to fail.
Here what i need is I don't get any error in log file what method I can use here
Any other methods to use
I want to verify the element is not available in the page.
If I use findelement it throws error and if I use waitelement it will return the object.
Using find element == page. Findelement ("xpath")
It throws error as unable to find the object
Using wait element it returns true but for my verification the element is not there so it need to fail.
Here what i need is I don't get any error in log file what method I can use here
Any other methods to use