Context:
- Playwright Version: 1.26.0 and 1.28.0
- Operating System: Windows
- Node.js version: 16.15.1
- Browser: [e.g. All, Chromium, Firefox, WebKit]
- Extra: Playwright java and utilizing system node js path, refer env properties
Code Snippet
public static void main(String[] args) {
try (Playwright playwright = Playwright.create()) {
Browser browser = playwright.chromium()
.launch(new BrowserType.LaunchOptions().setHeadless(false).setSlowMo(50));
Page page1 = browser.newPage();
page1.setDefaultTimeout(90000);
page1.navigate("http://playwright.dev");
System.out.println(page1.title());
While utilizing the system nodeJS path, not able to proceed and getting below error
Files\nodejsx was unexpected at this time.
Exception in thread "main" com.microsoft.playwright.PlaywrightException: Failed to read message from driver, pipe closed.
Add any other details about the problem here.
Error Screenshot

Env properties

Context:
Code Snippet
public static void main(String[] args) {
try (Playwright playwright = Playwright.create()) {
Browser browser = playwright.chromium()
.launch(new BrowserType.LaunchOptions().setHeadless(false).setSlowMo(50));
Page page1 = browser.newPage();
page1.setDefaultTimeout(90000);
page1.navigate("http://playwright.dev");
System.out.println(page1.title());
While utilizing the system nodeJS path, not able to proceed and getting below error
Files\nodejsx was unexpected at this time.
Exception in thread "main" com.microsoft.playwright.PlaywrightException: Failed to read message from driver, pipe closed.
Add any other details about the problem here.
Error Screenshot

Env properties
