You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
$ phantomjs ge-cancellation-checker.phantom.js -v
Please wait...
On GOES login page...
Logging in...
Bypassing human check...
Not allowed to load local resource: file://ge-cancellation-checker.phantom.js/goes/HomePagePreAction.do
This seems related to PhantomJS failing to handle the call to submitHome(), which represents a function which calls:
function submitHome( ) {
window.location = "/goes/HomePagePreAction.do";
}
The call to window.location seems to fail, on my build, with PhantomJS 2.1.2, with the error, above.
The solution, for me: edit file ge-cancellation-checker.phantom.js, commenting out submitHome() and manually calling window.location to the full URL:
Running Debian Stretch and getting this error:
$ phantomjs ge-cancellation-checker.phantom.js -v
Please wait...
On GOES login page...
Logging in...
Bypassing human check...
Not allowed to load local resource: file://ge-cancellation-checker.phantom.js/goes/HomePagePreAction.do
This seems related to PhantomJS failing to handle the call to submitHome(), which represents a function which calls:
function submitHome( ) {
window.location = "/goes/HomePagePreAction.do";
}
The call to window.location seems to fail, on my build, with PhantomJS 2.1.2, with the error, above.
The solution, for me: edit file ge-cancellation-checker.phantom.js, commenting out submitHome() and manually calling window.location to the full URL:
98 function() { // Accept terms
99 page.evaluate(function() {
100
101 //submitHome();
102 window.location = "https://goes-app.cbp.dhs.gov/goes/HomePagePre Action.do";
103
104 console.log('Bypassing human check...');
105 });
106 },
Hope this helps someone else!
The text was updated successfully, but these errors were encountered: