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

Only the last setViewport is accepted by WPT #6

Open
Siddhantshukla814 opened this issue Oct 20, 2022 · 0 comments
Open

Only the last setViewport is accepted by WPT #6

Siddhantshukla814 opened this issue Oct 20, 2022 · 0 comments

Comments

@Siddhantshukla814
Copy link
Contributor

Siddhantshukla814 commented Oct 20, 2022

With the latest update of Chrome Canary (v109.0.5370.0) you can add the setViewport as a step in between the recorded script and chrome works perfectly fine and changes the viewport in between the running session. But WPT won't follow this, WPT will only use the last setViewport syntax and use those viewports for the whole test.

This is something that will require work in the agent rather than extension.

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

No branches or pull requests

1 participant