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

Cannot find value of selected Enrollment Center #36

Open elmatt opened 7 years ago

elmatt commented 7 years ago

I am trying to run the command document.querySelector('select[name=selectedEnrollmentCenter]').value

I inspect the element on the Global Entry website, but it finds no value. Where exactly do I run this command?

dannyreed commented 7 years ago

This is just an easy way for you to get the value attribute of the form input. You would run this command in your browser's console but that also did not return any results for me. Optionally you can right click > inspect element > find the form field radio button for your location, and locate the input's value (should be an integer).

<input type="radio" name="" value="LOCATION_ID"> San Francisco Int'l

jpgavin commented 7 years ago

There is also a list here: http://pastebin.com/38tXMv01 It was updated as of May 25, 2016, but contains most enrollment centers.