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

Window Size #3864

Open
Houbein opened this issue Oct 25, 2024 · 2 comments
Open

Window Size #3864

Houbein opened this issue Oct 25, 2024 · 2 comments
Labels
bug Something isn't working priority: high

Comments

@Houbein
Copy link

Houbein commented Oct 25, 2024

Describe the bug
The viewport argument of New Context does not work.
According to the documentation; the New Context keyword has an argument viewport that allows you to set the width and hight to 0 so it will scale automatically with the window.
This does not happen. If I set these values to 0, all I get is a tiny window that does not scale at all.
To Reproduce
Steps to reproduce the behavior:

  1. New Browser browser=chromium
  2. New Context with viewport={'width': '0', 'height': '0'}
    *Expected behavior
    A browser window that detects my window size and automatically scales to that size.

Desktop (please complete the following information):

  • OS: [Wihndowsw 10 22H2 19045.5011]
  • Browser Chrome]
  • Version [130]
@aaltat aaltat added bug Something isn't working priority: high labels Oct 25, 2024
@aaltat
Copy link
Member

aaltat commented Oct 25, 2024

@allcontributors please add @Houbein for bugs

Copy link
Contributor

@aaltat

@Houbein already contributed before to bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high
Projects
None yet
Development

No branches or pull requests

2 participants