Skip to content

playwright-cli drag always fail v0.1.5 #354

@shivamothkuri

Description

@shivamothkuri
Bash(playwright-cli drag e195 f4e24)
  ⎿  Error: Exit code 1
     ~/.nvm/versions/node/v25.3.0/lib/node_modules/@playwright/cli/node_modules/playwright-core/lib/tools/cli-
     client/session.js:270
             callback.reject(new Error(object.error));
                             ^

     Error: [
       {
         "expected": "string",
         "code": "invalid_type",
         "path": [
           "startElement"
         ],
         "message": "Invalid input: expected string, received undefined"
       },
       {
         "expected": "string",
         "code": "invalid_type",
         "path": [
           "endElement"
         ],
         "message": "Invalid input: expected string, received undefined"
       }
     ]
         at SocketConnectionClient._onMessage (~/.nvm/versions/node/v25.3.0/lib/node_modules/@playwright/cli/n
     ode_modules/playwright-core/lib/tools/cli-client/session.js:270:25)
         at SocketConnectionClient._connection.onmessage (~/.nvm/versions/node/v25.3.0/lib/node_modules/@playw
     right/cli/node_modules/playwright-core/lib/tools/cli-client/session.js:238:52)
         at SocketConnection._dispatchMessage (~/.nvm/versions/node/v25.3.0/lib/node_modules/@playwright/cli/n
     ode_modules/playwright-core/lib/tools/utils/socketConnection.js:70:23)
         at SocketConnection._onData (~/.nvm/versions/node/v25.3.0/lib/node_modules/@playwright/cli/node_modul
     es/playwright-core/lib/tools/utils/socketConnection.js:57:10)
         at Socket.<anonymous> (~/.nvm/versions/node/v25.3.0/lib/node_modules/@playwright/cli/node_modules/pla
     ywright-core/lib/tools/utils/socketConnection.js:29:40)
         at Socket.emit (node:events:508:28)
         at addChunk (node:internal/streams/readable:559:12)
         at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
         at Readable.push (node:internal/streams/readable:390:5)
         at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)

     Node.js v25.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions