brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 286 forks source link

URLs with hash/fragments don't always work. #149

Open joshribakoff opened 8 years ago

joshribakoff commented 8 years ago

Possibly related to #126

I have an angular app that uses URL hash/fragments for routing. So the full URL to my page is something like "http://example.com/#/foo".

When I run webshot under node 4.x, it captures the "foo" route. But when I run it under node 5.x, it captures my main page instead of the desired route. In both cases PhantomJS version is 1.9.17 & node-webshot v0.15.4 (old, but it still works under node 4.x)

eddypawan commented 8 years ago

i have been trying to get a screen shot for angular internal pages with parameters , it doesn't allow me , although it takes the sceenshot of login page , let me know if any help you can provide with the authentication. Below is the URL http://localhost:9100/napsud/#/ramage-cp/567190bd90cf701debac80/567190bd90cf70761debac/5757f845bb170422750466

aguy004 commented 6 years ago

Did anyone find a solution to this?