3 ms·
How do you guys take a screenshot server-side for sites that require a login? Or does this only work for publicly accessible pages?
by richardkeller 14y ago
How do you guys take a screenshot server-side for sites that require a login? Or does this only work for publicly accessible pages?
- pveugen 14y agoCapturing sites that require a login works the same as other pages. We use the HTML output to capture a server-side screenshot.
- SunboX 14y agoYou could do this client side with https://github.com/niklasvh/html2canvas https://github.com/niklasvh/html2canvas
- antimora 14y agobut what if client had a crappy old browser but you rendered with modern browser, which will be rendered differently. Wouldn't be better if feedback contained computed HTML doms and you could render yourself with a given client?
- pveugen 14y agoThe really crappy old browsers won't see the feedback button. We do store and show HTML doms, which helps to debug if necessary, but most of our users collect feedback on such a large scale that it would be too time consuming to offer a manual solution like this.