Confirm site can be reached

When I use “open” to open a page that fails to load - “Site cannot be reached” - it proceeds to attempt the next command as thought he page loaded. Then it just hangs on the next step forever. How can I make it error out and proceed to the next test if the site cannot be reached? I’m baffled by this! Thanks!


there is a command called “domWait” in KAR but never use it and i’m not sure how it’s work. On this page: there is no description of thic command but i assume that it will wait for 10s for DOM to be loaded and if it won’t be loaded it couse an error and go to next test case.

Maybe command “pageWait” will help but i never use it too :slight_smile:.
Maybe you’ll find some more possible command on this page i linked.