Determine if a web page on a browser has been loaded successfully

Hi everyone, is there a way to determine if a website typed on a browser’s search bar via appium driver has been loaded or it failed to load?


You can check for webview contents.


You may try this, check the visibility of the search bar element, and if time is out, then it loaded failed.

  	WebElement visibleElement = (new WebDriverWait(
  			driver(), timeoutInSeconds))