Skip to content

Conversation

@marcbachmann
Copy link
Owner

@marcbachmann marcbachmann commented Sep 27, 2017

Fixes

Closes #141, #334, Properly parse stdout and only exit when json is returned
Closes #203, #281, Change exit behavior, this speeds up the execution and kills the process in the background
Closes #295, Adds childProcessOptions option where you can pass childProcess options to a script (apparently this is used on windows)

Features

Closes #173, #260, #264, Add support for window.callPhantom to trigger a render
Closes #259, Adds httpCookies option
Closes #258, Adds paginationOffset option

marcbachmann and others added 16 commits September 27, 2017 00:30
If run as windows service, use cliOptions = { detached:true} to avoid error: SetProcessDpiAwareness failed: "COM error 0x80070005  (Unknown error 0x0ffffffff80070005)"
Added an option to the generation script to dictate on which page the page numbering should start. Option name is paginationStartPage and is 1 based (to start pagination at page 2, the value would be 2)
Added an option to allow waiting for the page to say when it's finished rendering.

if options.onTitleDone is set to true, the page will not take the screenshot until the title is set to "done" on the page.

Signed-off-by: Alex Bor <alexhbor@gmail.com>
@marcbachmann marcbachmann merged commit 52f2e2d into master Sep 27, 2017
@marcbachmann marcbachmann deleted the v2.2.0 branch September 27, 2017 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants