title: Check if certain url is finished loading, then open another one in WebView
body: <p>I want to check if certain URL is finished loading, and then load another URL and if that new url is finished loading do something, how?</p>
  
  <p>I know how to check if certain URL is finished loading like this:</p>
  
  <pre><code>webView.setWebViewClient(new WebViewClient() {
  
      public void onPageFinished(WebView view, String url) {
          // do stuff here
      }
      });
  </code></pre>
  
  <p>But what I want is:</p>
  
  <pre><code> if url1 finished loading:
      load url2
      if url2 finished loading:
         //do some stuff here
  </code></pre>
  
  <p>How can I do this?</p>