Skip to content

Commit

Permalink
Set viewport size for web app test
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdat committed Aug 6, 2024
1 parent 3bfa649 commit fac77b0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public void setUp(SupportedPlatform supportedPlatform) {
default -> throw new UnsupportedPlatformException();
};
browserContext = browser.newContext();
browserContext.setViewportSize(1920, 1080);
page = browserContext.newPage();
}

Expand Down

0 comments on commit fac77b0

Please sign in to comment.