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

Viewport not resizing #269

Open
adrianthedev opened this issue Jun 29, 2024 · 6 comments
Open

Viewport not resizing #269

adrianthedev opened this issue Jun 29, 2024 · 6 comments

Comments

@adrianthedev
Copy link

Hey 👋

I have this issue with cuprite tests which I don't think we had before.

It seems that the webpage does not resize with the viewport. This causes the web page to be smaller than the viewport.
You can see in the video that the actual page does not resize with the viewport, unlike the other window where the content fits into the viewport (and is responsive).

In my particular case, the tests are failing because one of the alerts is "hidden" outside of the viewport (because the content does not get fitted in the viewport).

I'd love to get some help with this.

Thank you!

CleanShot.2024-06-29.at.11.17.34-converted.mp4
@route
Copy link
Member

route commented Jun 29, 2024

I think that's Chrome bug, what version are you using now? What version you used previously and when was the last update?

@adrianthedev
Copy link
Author

It's Chrome Version 126.0.6478.127 (Official Build) (arm64)
And cuprite (0.15.1)

How can I update it?

@adrianthedev
Copy link
Author

Not sure what I had before. I switched from selenium

@Nakilon
Copy link

Nakilon commented Jun 30, 2024

@adrianthedev
Copy link
Author

Yes. The issue is fixed by removing that line.
The page starts working properly now when resizing the browser.

Thanks!

@Nakilon
Copy link

Nakilon commented Jun 30, 2024

I thought it was fixed: rubycdp/ferrum#203

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

3 participants