Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inject js #65

Merged
merged 16 commits into from
Aug 15, 2016
Merged

Inject js #65

merged 16 commits into from
Aug 15, 2016

Conversation

MASNathan
Copy link
Contributor

  • Added possibility to inject JS scripts or snippets into the page before screenshot
  • Image format refactored
  • Added Library specific Exception classes
  • Minor fixes and docs update
  • Changed timeout naming

<?php if (isset($includedJsScripts)) : ?>
<?php foreach ($includedJsScripts as $script) : ?>
page.injectJs('<?php echo $script ?>');
<?php endforeach ?>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closing brace must be on a line by itself

@MASNathan MASNathan merged commit 57db948 into master Aug 15, 2016
@MASNathan MASNathan deleted the feature-js-injection branch August 15, 2016 11:29
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.

2 participants