I have some questions:
Is there a way to check lost internet connection?
In case of connection to the internet is lag and I need to click on a button on that site. I think of a way:
Use Element Exists to check Selector, if not, then I let Element Exists check Selector after some time.
Do you have any better ideas?
It will give you the result in Boolean value whether you have internet connectivity or not.
Yes it’s correct before clicking you can make sure the element is available or not…it will return the Boolean value.