Closed yuexingliang closed 4 months ago
Caused by: com.microsoft.playwright.PlaywrightException: SerializedError{value=null} at com.microsoft.playwright.impl.Connection.dispatch(Connection.java:252) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.Connection.processOneMessage(Connection.java:211) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:118) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.Connection.sendMessage(Connection.java:130) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:106) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.Connection$Root.initialize(Connection.java:86) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.Connection.initializePlaywright(Connection.java:181) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.BrowserTypeImpl.connectImpl(BrowserTypeImpl.java:88) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.BrowserTypeImpl.lambda$connect$1(BrowserTypeImpl.java:59) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:47) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.ChannelOwner.withLogging(ChannelOwner.java:89) ~[playwright-1.43.0.jar:1.43.0] at com.microsoft.playwright.impl.BrowserTypeImpl.connect(BrowserTypeImpl.java:59) ~[playwright-1.43.0.jar:1.43.0] at org.rpa.engine.instruction.pc.WebXbot.connect(WebXbot.java:114) ~[classes/:?]
playwright java sdk:1.44.0 chrome version:124.0.6367.201
http://127.0.0.1:9222/json/version:{ "Browser": "Chrome/124.0.6367.201", "Protocol-Version": "1.3", "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36", "V8-Version": "12.4.254.15", "WebKit-Version": "537.36 (@46cf136d27d50afd9c618d164a3b95b3b62d0027)", "webSocketDebuggerUrl": "ws://127.0.0.1:9222/devtools/browser/14788e3a-3db9-42d8-9aa9-ce9e2a822dc8" }
This issue is not following the bug template. Please re-file and provide a self-contained reproduction, which we can run locally to reproduce your issue. Thanks for your understanding!
This issue is not following the bug template. Please re-file and provide a self-contained reproduction, which we can run locally to reproduce your issue. Thanks for your understanding!
public Browser connect() {
Playwright playwright = Playwright.create();
BrowserType browserTypePlaywright = playwright.chromium();
//wsEndpoint="ws://127.0.0.1:9222/devtools/browser/14788e3a-3db9-42d8-9aa9-ce9e2a822dc8"
return browserTypePlaywright.connect(wsEndpoint);
}
{"guid":"jsonPipe@25771ec7a3efed0f5ed8c0bf127afcd0","method":"message","params":{"message":{"id":1,"error":{"code":-32600,"message":"Message has property other than 'id', 'method', 'sessionId', 'params'"}}}}
Please do not submit this issue.