Sfoglia il codice sorgente

remove obsolete code

Gildas 4 anni fa
parent
commit
8ee86e30b1
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      cli/back-ends/webdriver-gecko.js

+ 0 - 3
cli/back-ends/webdriver-gecko.js

@@ -93,9 +93,6 @@ async function getPageData(driver, options) {
 		await driver.sleep(3000);
 	}
 	await driver.get(options.url);
-	while (await driver.getCurrentUrl() == "about:blank") {
-		// do nothing
-	}
 	if (options.browserCookies) {
 		await Promise.all(options.browserCookies.map(cookie => {
 			if (cookie.expires) {