I am trying to execute karate script through playwright . I started the playwright server by running node server.js in cmd as below
C:\Documents\playwright>node server.js
using port: 4444 browser: chromium headless: false
ws://127.0.0.1:4444/c9e3265076caf23f548ddddbc66ac160
And gave the websocket url generated in the karate driver config as below .
- configure driver = { type: 'playwright', start: false, playwrightUrl: 'ws://127.0.0.1:4444/c9e3265076caf23f548ddddbc66ac160' }.
When i execute the karate script , its neither throwing any error nor executing it , it standstill and does not stop the execution at all . But if i mention incorrect playwrightUrl value then its throwing
" karate.io.netty.handler.codec.http.websocketx.WebSocketClientHandshakeException: Invalid handshake response getStatus: 400 Bad Request"
Please let me know if i missing something here and kindly help me to execute the karate script through playwright!Thanks