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

[Bug]: Showing type error, ref. Error and other errors instead of written code line is correct and executed properly and all errors are disappears on reload window or restart vs code. #33732

Open
OnlyKeval opened this issue Nov 22, 2024 · 0 comments

Comments

@OnlyKeval
Copy link

Version

1.49

Steps to reproduce

System - Windows 10

Note - Already checked by uninstalling and reinstalling node. js, vs code and playwright necessary setup with complete removal for uninstallation.

Precondition:

  1. Installed node. js with latest version
  2. Installed playwright with latest version.
  3. Installed extension playwright for vs code.
  4. Configured playwright with JS with browsers.

Issue Steps:

  1. When ever I am writing code to automation web app with playwright syntax or JS syntax which already I configured properly in vs code but still I am getting errors and all shown errors are disappears once I reload vs code window or restart vs code and shows once I started writing new code and everytime i need to restart vs code.

Questions:

Does it due to TS or related? But I checked JS only during playwright installation.

Does it due to vs code not reloading or connecting properly like it always so that's why errors showing and disappears once reload?

Expected behavior

It should not showing any error when code correct and executing properly.

Actual behavior

It is showing errors like attached few images of sample normal code.

Image
Image
Image

Additional context

No response

Environment

1.49 playwright version. 

Windows 10.

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

No branches or pull requests

1 participant