-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web side error #316
Comments
The PhantomJs -v 2.1.1 |
Please provide example code that recreates the problem. |
there is no problems in common browsers... "use strict"
const Horseman = require('node-horseman');
const email = ' . . . ';
const password = ' . . . ';
const startURL = ' . . . ';
const userAgent = 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0';
const horseman = new Horseman({
phantomOptions: {
'load-images': true,
'ignore-ssl-errors': true,
'ssl-protocol': 'any',
},
'cookiesEnabled': true,
'timeout': 160000,
'interval': 200,
"debugPort": 5002
});
horseman
.cookies([])
.userAgent(userAgent)
.on('ConsoleMessage', function(msg) {
console.log(msg);
})
.on('error', function( msg, trace ){
console.log(msg);
})
.open(startURL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, i am using [email protected] with npm -v 5.4.2 and node v8.4.0
The error occurred after i login the form
outputs:
...
horseman .click() #login-button>input +191ms
horseman .click() done +3ms
horseman .waitForNextPage() +0ms
ReferenceError: Can't find variable: Set
ReferenceError: Can't find variable: ReactForShim
TypeError: undefined is not an object (evaluating 'MyCase.LawyerDash.setupWelcomePanel')
ReferenceError: Can't find variable: ReactForShim
ReferenceError: Can't find variable: ReactForShim
ReferenceError: Can't find variable: ReactForShim
The text was updated successfully, but these errors were encountered: