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

[Feature]: VSCode plugin: is there a way to make the browser window open on the second monitor? #34584

Open
frederikhors opened this issue Feb 1, 2025 · 2 comments

Comments

@frederikhors
Copy link

When I use the VSCode plugin to debug tests the browser windows open on the same monitor where I have Visual Studio Code, but since I have a secondary monitor connected, is there a way to make the browser window open on that second monitor?

@dgozman dgozman changed the title VSCode plugin: is there a way to make the browser window open on the second monitor? [Feature]: VSCode plugin: is there a way to make the browser window open on the second monitor? Feb 3, 2025
@dgozman
Copy link
Contributor

dgozman commented Feb 3, 2025

@frederikhors I don't think it's possible to force that. If you run with "Show browser" checked, Playwright will reuse the same browser, so you can move it to the secondary monitor just once. Leaving this open as a feature request.

@y-kawakami-ccs
Copy link

maybe, chromium only.

export default defineConfig({
// ...
use: {
      launchOptions: {
      args: ["--window-position=2048,200"]
    }
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants