Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Adjust screen resolution during Metamask initial setup #221

Open
Lykhoyda opened this issue Dec 15, 2022 · 0 comments
Open

Adjust screen resolution during Metamask initial setup #221

Lykhoyda opened this issue Dec 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Lykhoyda
Copy link
Contributor

Is your feature request related to a problem? Please describe.
We could provide a user an option to change the viewport size during the metamask installation (method "setupMetaMask") as screen sizes may vary for physical and virtual screens of the headless OS runners. The screen size should be consistent regardless of whether we are running the tests or the dappeteer method. The current dappeteer method setViewport will change the screen resolution only for the tests and we have a hardcoded screen size for the setup phase

Describe the solution you'd like
Provide parameter to change screen resolution.

export type MetaMaskOptions = {
  seed?: string;
  password?: string;
  showTestNets?: boolean;
  screenResolution?: {
     width: number;
     height: number
  }
};
@Lykhoyda Lykhoyda added the enhancement New feature or request label Dec 15, 2022
@Lykhoyda Lykhoyda changed the title Adjust screen resolution during Metamas setup Adjust screen resolution during Metamask initial setup Dec 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant