Comments (5)
Could you provide us a repro repository? Which Playwright version are you using? 1.19+ is required.
from playwright-vscode.
Which Playwright version are you using?
1.19.1
Could you provide us a repro repository?
it happens on a blank repo generated with npm init playwright
, however i can only reproduce it on one machine but not my other one. here's the output from npx envinfo --preset playwright --markdown
, i'm not sure what other info i can provide because i couldn't see anything noteworthy in in the output logs
System:
- OS: Windows 10 10.0.18363
- Memory: 1.12 GB / 15.78 GB
Binaries:
- Node: 16.9.1 - C:\Program Files\nodejs\node.EXE
- npm: 7.24.1 - C:\Program Files\nodejs\npm.CMD
Languages:
- Bash: 5.0.17 - C:\WINDOWS\system32\bash.EXE
from playwright-vscode.
I tried to reproduce on Windows, but was unfortunately not able to. So the playwright-demo
folder is the folder which npm init playwright
has created?
and attempting to run any playwright commands from the F1 menu results in the following error:
It seems like that the original activation of the extension was not successful, thats why all the commands are not working. Could you check if inside the Output Log (Extension Host)
something gets printed regarding Playwright?
Which Visual Studio Code version are you using?
from playwright-vscode.
that fix seemed to work, thanks!
from playwright-vscode.
@mxschmitt though it is annoying having to manually run one of the tasks whenever i open my project, could this issue be re-opened until that's resolved? or should i make a new issue?
So the
playwright-demo
folder is the folder whichnpm init playwright
has created?
yep
Could you check if inside the Output
Log (Extension Host)
something gets printed regarding Playwright?
nothing playwright related on launch:
[2022-02-17 09:35:42.073] [exthost] [info] Extension host with pid 24380 started
[2022-02-17 09:35:42.073] [exthost] [info] Skipping acquiring lock for c:\Users\user\AppData\Roaming\Code\User\workspaceStorage\f6ef7d513360f660b597a27ffa6448d0.
[2022-02-17 09:35:42.199] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
[2022-02-17 09:35:42.221] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*'
[2022-02-17 09:35:42.229] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.github
[2022-02-17 09:35:42.238] [exthost] [info] ExtensionService#_doActivateExtension vscode.npm, startup: true, activationEvent: 'workspaceContains:package.json'
[2022-02-17 09:35:42.315] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
[2022-02-17 09:35:42.339] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
[2022-02-17 09:35:42.401] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
[2022-02-17 09:35:43.779] [exthost] [info] Eager extensions activated
[2022-02-17 09:35:43.793] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished'
[2022-02-17 09:35:43.806] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
[2022-02-17 09:35:43.814] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
however when i run one of the playwright tasks it now successfully loads the extension and this line appears:
[2022-02-17 09:39:18.447] [exthost] [info] ExtensionService#_doActivateExtension ms-playwright.playwright, startup: false, activationEvent: 'onCommand:pw.extension.refreshTests'
Which Visual Studio Code version are you using?
Version: 1.64.2 (user setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.18363
from playwright-vscode.
Related Issues (20)
- node throws `Unhandled 'error' event` HOT 1
- "type":"module" breaks playwright-vscode extension (Minimum example from "Playwright:Getting Started" with Typescript) HOT 3
- Re-run failed tests HOT 2
- Highlight selector does not work under WSL
- Is Remote / SSH or Remote / Container development supported? HOT 7
- After defining globalSetup the extension can no longer run tests individually HOT 1
- Install Playwright does not work anymore. HOT 1
- [Bug]: New Record new Test doesn't launch browser HOT 1
- npm ERR! Invalid name: "playwright@latest" when running "Install Playwright" from VSCode Command HOT 8
- ❗❗❗Please file issues at https://github.com/microsoft/playwright❗❗❗
- Cucumber integration HOT 1
- [Feature Request] Record option to save network requests as HAR HOT 1
- My
- My
- README
- No support for Custom reporters HOT 1
- .
- Profile vs Project HOT 1
- Playwright Test for VS Code, Record new function can not set browser and viewport-size HOT 2
- Is it compatible with Python? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright-vscode.