Add logging for current URL during data pull
This commit is contained in:
@ -71,6 +71,8 @@ export async function pullData(amount = 100) {
|
||||
// Navigate the page to a URL.
|
||||
await page.goto('https://online.unitedfcu.com/unitedfederalcredituniononline/uux.aspx#/login');
|
||||
|
||||
state.push(`Current URL: ${page.url()}`);
|
||||
|
||||
if (page.url().includes('interstitial')) {
|
||||
await page.waitForNavigation();
|
||||
state.push('Already logged in, navigating to dashboard');
|
||||
|
||||
Reference in New Issue
Block a user