Implement "browsingContext.setViewport" command on Android
Categories
(Remote Protocol :: WebDriver BiDi, task, P3)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [webdriver:backlog])
With bug 1838664 we will get initial support for modifying the viewport size. It works great on desktop but fails on mobile because the height and width of the browser doesn't seem to change.
This needs more investigation to why it's not working and what other solution we might need.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•6 days ago
|
||
We should probably have a look at this bug and at least should know why it's failing on Android so that we can file a platform bug (if needed). As of now this is failing at least 85 viewport related wdspec tests.
Reporter | ||
Comment 2•6 days ago
|
||
We can actually pass 48 tests for the invalid.py
tests when we move the assertion for desktop to some later line in our browsingContext.setViewport
implementation - so that we can catch up with Chrome.
Reporter | ||
Comment 3•13 hours ago
|
||
It should be possible to do it on Android. It would be nice to have for RefTest, but it's most likely not a high priority at the moment.
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #2)
We can actually pass 48 tests for the
invalid.py
tests when we move the assertion for desktop to some later line in ourbrowsingContext.setViewport
implementation - so that we can catch up with Chrome.
We should do this update given that this is only a single line.
Description
•