Skip to content

core: fix viewport when running over adb#14937

Merged
adamraine merged 4 commits intomainfrom
adb-legacy-nav
Apr 24, 2023
Merged

core: fix viewport when running over adb#14937
adamraine merged 4 commits intomainfrom
adb-legacy-nav

Conversation

@adamraine
Copy link
Contributor

@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
Contributor 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