Sunday, 15 March 2015

javascript - getting error in casperjs as "resource not found" for this ur? -



javascript - getting error in casperjs as "resource not found" for this ur? -

i trying fetch html url "https://stage.hiiro.co/auth/login" next coffeescript file code casperjs

casper.start "https://stage.hiiro.co/auth/login", -> @echo @gethtml()

it gives me error resource not found function works fine other urls seek access https://www.facebook.com/, https://www.gmail.com/.

can guess why not working?

and yes url "https://stage.hiiro.co/auth/login" works fine browsers

you have ssl error domain. passing --ignore-ssl-errors=yes alternative makes script work fine.

javascript jasmine phantomjs casperjs

No comments:

Post a Comment