diff --git a/lib/mixins/navigate.js b/lib/mixins/navigate.js index ae24c15..cb8f92b 100644 --- a/lib/mixins/navigate.js +++ b/lib/mixins/navigate.js @@ -205,8 +205,7 @@ export async function navToUrl (url) { /** @type {B} */ const pageReadinessPromise = new B((resolve) => { - /** @type {() => Promise} */ - let performPageReadinessCheck = async () => { + const performPageReadinessCheck = async () => { while (isPageLoading) { const pageReadyCheckStart = new timing.Timer().start(); try {