parameters: (self, queued_tabs)
docstring: Waits for all the batch navigated tabs to finish loading.
  
      Args:
        queued_tabs: A list of tuples (tab, initial_url). Each tab is guaranteed
        to have already been sent a navigation command.
docstring_summary: Waits for all the batch navigated tabs to finish loading.
docstring_tokens: Waits for all the batch navigated tabs to finish loading .
function: def _WaitForQueuedTabsToLoad(self, queued_tabs):
      """Waits for all the batch navigated tabs to finish loading.
  
      Args:
        queued_tabs: A list of tuples (tab, initial_url). Each tab is guaranteed
        to have already been sent a navigation command.
      """
      total_batch_timeout = (len(queued_tabs) *
                             self._BATCH_TIMEOUT_PER_PAGE_IN_SECONDS)
      end_time = time.time() + total_batch_timeout
      for tab, initial_url in queued_tabs:
        # Since we didn't wait any time for the tab url navigation to commit, it's
        # possible that the tab hasn't started navigating yet.
        self._WaitForUrlToChange(tab, initial_url, end_time)
        self._WaitForTabToBeReady(tab, end_time)
function_tokens: def _WaitForQueuedTabsToLoad ( self , queued_tabs ) : total_batch_timeout = ( len ( queued_tabs ) * self . _BATCH_TIMEOUT_PER_PAGE_IN_SECONDS ) end_time = time . time ( ) + total_batch_timeout for tab , initial_url in queued_tabs : # Since we didn't wait any time for the tab url navigation to commit, it's # possible that the tab hasn't started navigating yet. self . _WaitForUrlToChange ( tab , initial_url , end_time ) self . _WaitForTabToBeReady ( tab , end_time )