@copart/tx-title-submission
Advanced tools
Comparing version 1.0.24 to 1.0.25
@@ -240,3 +240,3 @@ "use strict"; | ||
if (!successClickFlag) { | ||
_context5.next = 16; | ||
_context5.next = 14; | ||
break; | ||
@@ -246,16 +246,9 @@ } | ||
_context5.next = 7; | ||
return page.waitForNavigation({ | ||
domcontentloaded: 'domcontentloaded', | ||
timeout: 300000 | ||
}); | ||
return page.$("#messages > div.error > ul"); | ||
case 7: | ||
_context5.next = 9; | ||
return page.$("#messages > div.error > ul"); | ||
case 9: | ||
errorBlock = _context5.sent; | ||
if (errorBlock) { | ||
_context5.next = 12; | ||
_context5.next = 10; | ||
break; | ||
@@ -266,4 +259,4 @@ } | ||
case 12: | ||
_context5.next = 14; | ||
case 10: | ||
_context5.next = 12; | ||
return errorBlock.$$eval("li", function (nodes) { | ||
@@ -275,16 +268,16 @@ return nodes.map(function (n) { | ||
case 14: | ||
case 12: | ||
errorList = _context5.sent; | ||
throw errorList.join("|"); | ||
case 16: | ||
_context5.next = 21; | ||
case 14: | ||
_context5.next = 19; | ||
break; | ||
case 18: | ||
_context5.prev = 18; | ||
case 16: | ||
_context5.prev = 16; | ||
_context5.t0 = _context5["catch"](0); | ||
throw _context5.t0; | ||
case 21: | ||
case 19: | ||
case "end": | ||
@@ -294,3 +287,3 @@ return _context5.stop(); | ||
} | ||
}, _callee5, this, [[0, 18]]); | ||
}, _callee5, this, [[0, 16]]); | ||
})); | ||
@@ -297,0 +290,0 @@ |
{ | ||
"name": "@copart/tx-title-submission", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"description": "Automates texas title submission via headless browser", | ||
@@ -5,0 +5,0 @@ "main": "./lib/export.js", |
@@ -74,6 +74,6 @@ const puppeteer = require('puppeteer'); | ||
if (successClickFlag) { | ||
await page.waitForNavigation({ | ||
domcontentloaded: 'domcontentloaded', | ||
timeout: 300000 | ||
}) | ||
// await page.waitForNavigation({ | ||
// domcontentloaded: 'domcontentloaded', | ||
// timeout: 300000 | ||
// }) | ||
// await waitForNavigation(page) | ||
@@ -80,0 +80,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87007
2753