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

[WebDriver BiDi] Update captureScreenshot tests with box clip #42524

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

jrandolf
Copy link
Contributor

@jrandolf jrandolf commented Oct 13, 2023

@jrandolf jrandolf enabled auto-merge (rebase) October 13, 2023 08:47
@jgraham jgraham disabled auto-merge October 13, 2023 10:22
@jgraham jgraham merged commit 40df0a0 into master Oct 13, 2023
37 of 41 checks passed
@jgraham jgraham deleted the jrandolf/pointer branch October 13, 2023 10:22
def __init__(self, x: float, y: float, width: float, height: float):
self["type"] = "viewport"
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that this is a backward incompatible change. In which version of Chrome and when exactly will it be released? It would be good to coordinate it together with a Firefox release.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We recently added it into our WebDriver BiDi implementation, but we haven't merged it into Chrome yet. Considering Puppeteer uses the WebDriver BiDi implementation directly, we are not generally in a rush to upstream it into Chromium. However, considering this change, we already have plans on doing so immediately.

Copy link
Contributor

Choose a reason for hiding this comment

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

Note that we usually try to avoid backward incompatible changes and I cannot see that we actually agreed on it - maybe it was missed in both the reviews for the BiDi and test changes? So lets hope that not many clients are actually affected by that.

We filed https://bugzilla.mozilla.org/show_bug.cgi?id=1859258 to get our implementation updated, which may still happen for Firefox 120 which will be released November 21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants