Commit ae292ebb authored by Julian Descottes's avatar Julian Descottes
Browse files

Bug 1816538 - [remote] WaitForInitialNavigation should use a longer...

Bug 1816538 - [remote] WaitForInitialNavigation should use a longer unloadTimeout r=webdriver-reviewers,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D179411
parent f3c482b7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -70,6 +70,10 @@ export async function waitForInitialNavigationCompleted(
  // Start the listener right away to avoid race conditions.
  const listener = new ProgressListener(webProgress, {
    resolveWhenStarted,
    // For initial navigations, we should consistently get a navigation so we
    // use a much higher unload timeout compared to the default value.
    // See Bug 1816538.
    unloadTimeout: 5000,
  });
  const navigated = listener.start();