playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] IntelliJ / WebStorm extension

Open pas2al opened this issue 2 years ago • 10 comments

Is there a plan to provide an extension for JetBrains IDEs similar to https://playwright.dev/docs/getting-started-vscode?

pas2al avatar May 18 '22 07:05 pas2al

Upvoting X 1000! We use a WebStorm in the company, and not many people love to use the VSCode. So - the similar extension will be great!!!

AlexKomanov avatar May 18 '22 17:05 AlexKomanov

That's a great idea ! Like AlexKomanov we also use webstorm so I'm also voting for extension!

Mshumaman avatar May 18 '22 18:05 Mshumaman

Upvoting! I'm pretty sure there are many Jetbrains users, but it's not that easy to realize that it is required to come here in order to affect the decision to develop a playwright extension for it.

ValorHeart avatar Aug 30 '22 07:08 ValorHeart

What exactly does the extension do? The link in the OP doesn't link to the extension anymore, the docs have changed apparently.

I'm using GoLand (uses the same engine as Webstorm) and I don't feel like anything's missing in terms of PW support, hence my question.

azad-derakhshani-GS avatar Sep 07 '22 20:09 azad-derakhshani-GS

What exactly does the extension do? The link in the OP doesn't link to the extension anymore, the docs have changed apparently.

I'm using GoLand (uses the same engine as Webstorm) and I don't feel like anything's missing in terms of PW support, hence my question.

Thanks. I fixed the link. How are you using PW in GoLand (Run config)?

I am coming from Protractor and it has been quite convenient for years to execute and debug e2e tests directly from the IDE. The VS Code extension has a few features I would like to see (besides simple "run tests") in an official plugin for Jetbrains IDEs. Like the live debugging or execution on specific browsers.

pas2al avatar Sep 07 '22 20:09 pas2al

How are you using PW in GoLand (Run config)?

@pas2al What do you mean exactly? I just use it the normal way via command line, as it's described in the PW doc. No need for a run config.
And you can always run tests directly from the IDE, where else would you run them from (other than the cloud, I mean)?

azad-derakhshani-GS avatar Sep 08 '22 21:09 azad-derakhshani-GS

@azad-derakhshani-GS , Can you run specific test method straight from the spec file using the "green" arrow button in webstorm?

ValorHeart avatar Sep 09 '22 15:09 ValorHeart

@azad-derakhshani-GS , Can you run specific test method straight from the spec file using the "green" arrow button in webstorm?

Dunno, but why would I need to? I've always run tests from the command line, that's so much faster and there are a lot of options (files, tags, envs etc) to specify what you want to test. A simple play button in the IDE does not provide the same functionality.

azad-derakhshani-GS avatar Sep 09 '22 17:09 azad-derakhshani-GS

Sure, this is one way. I am using the command line myself. I think it comes down to personal preference and individual workflows. The discussion seems to go a little bit off track regarding my original request.

I think there are quite a few people who are interested in this kind of IDE integration. Otherwise, the Playwright team wouldn't have built an extension for VSCode. Now the question is: Do we get the same one for Jetbrains IDEs?

pas2al avatar Sep 09 '22 17:09 pas2al

While PW team is evaluating the need for IntelliJ extension, I found an existing one: https://plugins.jetbrains.com/plugin/18100-maestro It more or less has the same functionality as the VSCode one, but it's paid.

Mitri86 avatar Sep 21 '22 07:09 Mitri86

JetBrains has added official Playwright support: https://blog.jetbrains.com/qa/2023/06/playwright-support-arrives-to-jetbrains-aqua/

ValorHeart avatar Jun 08 '23 13:06 ValorHeart

Closing as per above.

pavelfeldman avatar Feb 01 '24 21:02 pavelfeldman