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

core: fix viewport when running over adb #14937

Merged
merged 4 commits into from
Apr 24, 2023
Merged

core: fix viewport when running over adb #14937

merged 4 commits into from
Apr 24, 2023

Conversation

adamraine
Copy link
Member

@adamraine adamraine commented Mar 28, 2023

Fixes #14746

@adamraine adamraine requested a review from a team as a code owner March 28, 2023 21:07
@adamraine adamraine requested review from brendankenny and removed request for a team March 28, 2023 21:07
@adamraine adamraine changed the title docs: suggest legacy navigation for adb testing core: fix viewport when running over adb Mar 28, 2023
@paulirish
Copy link
Member

The linked bug is about a connection issue... whats the relationship of defaultViewport to the CDP socket being successfully established?

@adamraine
Copy link
Member Author

The connection issue was fixed in Chrome, but when I tested it the viewport had weird dimensions. Turns out Puppeteer applies a 800x600 viewport by default so the defaultViewport just disables that.

@adamraine adamraine merged commit 6687cc4 into main Apr 24, 2023
@adamraine adamraine deleted the adb-legacy-nav branch April 24, 2023 18:12
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.

Auditing device over adb only works with legacy navigation
5 participants