Earlier quoted context omitted.
Yes: https://chromedevtools.github.io/debugger-protocol-viewer/to...
Any idea if you can configure the page DPI with this API?
Chrome 59 has cross-platform headless support
31–40 of 161 posts
Re: Chrome 59 has cross-platform headless support
#32Any way of scripting this to automate button clicks etc? I use PhantomJS for this now but found it to be incredibly unstable for complex pages.
Re: Chrome 59 has cross-platform headless support
#33Earlier quoted context omitted.
> FWIW, you can do that now, using phantomjs (which is chrome) http://phantomjs.org/screen-capture.html It's based on webkit.
Once upon a time, but not anymore. https://www.chromium.org/blink
Re: Chrome 59 has cross-platform headless support
#34This is fantastic. I'm using a combination of Chrome and PhantomJS for karma testing right now, for https://github.com/paypal/paypal-checkout and https://github.com/krakenjs/xcomponent . There are hundreds of tests opening up hundreds of iframes and popup windows, and sending a lot of cross-window messages, and that ends up being really memory hungry. Chrome deals pretty well with garbage collection, so long as I'm c…
Re: Chrome 59 has cross-platform headless support
#35I've been working on a fully open source Windows/macOS library (via Chromium Embedded Framework) that allows you to render pages to memory (and then of course to bitmaps, textures etc.) as well as inject synthesized mouse/keyboard/JavaScript events. It currently uses (what amounts to) Chrome 57.
Looks like this might make my project obsolete.
Re: Chrome 59 has cross-platform headless support
#36Re: Chrome 59 has cross-platform headless support
#37Please let this be capable of generating PDFs from HTML from the command line.
Re: Chrome 59 has cross-platform headless support
#38Any chance for webgl here? Would be nice for automatic screenshots and webgl tests.
Re: Chrome 59 has cross-platform headless support
#39Re: Chrome 59 has cross-platform headless support
#40This is fantastic. I'm using a combination of Chrome and PhantomJS for karma testing right now, for https://github.com/paypal/paypal-checkout and https://github.com/krakenjs/xcomponent . There are hundreds of tests opening up hundreds of iframes and popup windows, and sending a lot of cross-window messages, and that ends up being really memory hungry. Chrome deals pretty well with garbage collection, so long as I'm c…