Skip to content

Conversation

@erickgskovik
Copy link
Contributor

Fixes #389

I made selector and area optional arguments. In the implementation, I think that the pull requests shows the true intention of the screenshot region.

If full: true, It tries to capture full screenshot with full size browser window and then viewport if the full size is not accurate.
If full: false, :selector is preferred if defined. Then :area. Otherwise, the default will be the viewport.

Applying default scale (1.0) will not affect the result anyway.

@sandstrom
Copy link
Contributor

@route friendly ping 😄

@route
Copy link
Member

route commented Nov 9, 2023

I'm back and going one by one from top to bottom ;)

@route route merged commit 2f9e94f into rubycdp:main Nov 9, 2023
@route
Copy link
Member

route commented Nov 9, 2023

Thanks, nice job!

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.

Send Emulation commands to Page

3 participants