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

Add ClickOptions.Offset (Optional) #1988

Merged
merged 1 commit into from Oct 4, 2022
Merged

Conversation

amaitland
Copy link
Contributor

  • Add new Offset struct and replace BoxModelPoint usage for ClickablePointAsync
  • Add new Test case based on JSHandle.click should work

Puppeteer supports passing an offset via ClickOptions see https://pptr.dev/api/puppeteer.clickoptions

Copy link
Member

@kblok kblok left a comment

Choose a reason for hiding this comment

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

Do you want to add the JSHandle.clickablePoint tests?

@amaitland
Copy link
Contributor Author

New clickablePoint tests have been added. Fixed some copy paste typos.

PR puppeteer/puppeteer#8858 should hopefully fix the typos in puppeteer

- Add new Offset struct and replace BoxModelPoint usage for ClickablePointAsync
- Add new Test case based on JSHandle.click should work
- Add JSHandle.clickablePoint tests
@kblok kblok merged commit 16425fe into hardkoded:master Oct 4, 2022
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.

None yet

2 participants