playwright icon indicating copy to clipboard operation
playwright copied to clipboard

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

Open frederikhors opened this issue 11 months ago • 2 comments

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?

frederikhors avatar Feb 01 '25 12:02 frederikhors

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

dgozman avatar Feb 03 '25 09:02 dgozman

maybe, chromium only.

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

y-kawakami-ccs avatar Feb 04 '25 11:02 y-kawakami-ccs

Why was this issue closed?

Thank you for your involvement. This issue was closed due to limited engagement (upvotes/activity), lack of recent activity, and insufficient actionability. To maintain a manageable database, we prioritize issues based on these factors.

If you disagree with this closure, please open a new issue and reference this one. More support or clarity on its necessity may prompt a review. Your understanding and cooperation are appreciated.

pavelfeldman avatar Sep 04 '25 01:09 pavelfeldman