davidofwatkins / ge-cancellation-checker

A PhantomJS script that checks your GOES account for a sooner Global Entry enrollment appointment
173 stars 74 forks source link

Multiple TypeError issues #19

Closed jmcook closed 8 years ago

jmcook commented 8 years ago

Just getting this setup, and I'm getting a few TypeError issues...

Please wait...
On GOES login page...
Logging in...
Bypassing human check...
Error on page: TypeError: undefined is not an object (evaluating 'document.document.ApplicationActionForm')

  phantomjs://code/ge-cancellation-checker.phantom.js:54 in onError
Entering appointment management...
Entering rescheduling selection page...
Choosing Location: Washington Dulles International Global Entry EC - 22685 International Arrivals- Main Terminal, Washington Dulles International Airport, Sterling , VA 20041, US
Error on page: TypeError: null is not an object (evaluating 'document.querySelector('.date table tr:first-child td:first-child').innerHTML')

  phantomjs://code/ge-cancellation-checker.phantom.js:54 in onError
jmcook commented 8 years ago

Looks like I needed the fix referenced in #11 - works now.

davidofwatkins commented 8 years ago

Cool, closing as duplicate.