Skip to content

TimeoutError: DevtoolsApiMessage did not respond after 60 seconds #294

@dev2xl

Description

@dev2xl

I created a docker image, I am running the script and after finding the input and clicking on it I tried to type some text with await hero.type('test') and I got the following error

2024-08-31 12:43:37 ::: START :::
2024-08-31 12:43:42 2.0.0-alpha.29
2024-08-31 12:43:44 input found true
2024-08-31 12:43:44 button found true
2024-08-31 12:43:44 input clicked
2024-08-31 12:44:46 TimeoutError: DevtoolsApiMessage did not respond after 60 seconds. (Input.dispatchKeyEvent, id=117)
2024-08-31 12:44:46   at new Resolvable (/app/node_modules/commons/lib/Resolvable.ts:19:18)
2024-08-31 12:44:46     at createPromise (/app/node_modules/commons/lib/utils.ts:147:10)
2024-08-31 12:44:46     at DevtoolsSession.send (/app/agent/main/lib/DevtoolsSession.ts:82:37)
2024-08-31 12:44:46     at Keyboard.down (/app/agent/main/lib/Keyboard.ts:45:32)
2024-08-31 12:44:46     at Keyboard.press (/app/agent/main/lib/Keyboard.ts:87:16)
2024-08-31 12:44:46     at Interactor.playInteraction (/app/agent/main/lib/Interactor.ts:390:37)
2024-08-31 12:44:46     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-08-31 12:44:46     at async DefaultHumanEmulator.playInteractions (/app/plugins/default-human-emulator/index.ts:102:17)
2024-08-31 12:44:46     at async Plugins.playInteractions (/app/agent/main/lib/Plugins.ts:162:7)
2024-08-31 12:44:46     at async /app/agent/main/lib/Interactor.ts:149:18
2024-08-31 12:44:46 ------CONNECTION----------------------------------
2024-08-31 12:44:46   at new Resolvable (/app/node_modules/commons/lib/Resolvable.ts:19:18)
2024-08-31 12:44:46     at createPromise (/app/node_modules/commons/lib/utils.ts:147:10)
2024-08-31 12:44:46     at PendingMessages.create (/app/node_modules/net/lib/PendingMessages.ts:47:44)
2024-08-31 12:44:46     at ConnectionToHeroCore.sendRequest (/app/node_modules/net/lib/ConnectionToCore.ts:158:50)
2024-08-31 12:44:46     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-08-31 12:44:46     at async CoreCommandQueue.sendRequest (/app/node_modules/client/lib/CoreCommandQueue.ts:317:12)
2024-08-31 12:44:46     at async Object.cb (/app/node_modules/client/lib/CoreCommandQueue.ts:231:16)
2024-08-31 12:44:46     at async Queue.next (/app/node_modules/commons/lib/Queue.ts:188:19)
2024-08-31 12:44:46 ------CORE COMMANDS-------------------------------
2024-08-31 12:44:46     at Queue.run (/app/node_modules/commons/lib/Queue.ts:63:19)
2024-08-31 12:44:46     at CoreCommandQueue.run (/app/node_modules/client/lib/CoreCommandQueue.ts:220:8)
2024-08-31 12:44:46     at CoreFrameEnvironment.interact (/app/node_modules/client/lib/CoreFrameEnvironment.ts:135:29)
2024-08-31 12:44:46     at Function.run (/app/node_modules/client/lib/Interactor.ts:50:21)
2024-08-31 12:44:46     at Hero.type (/app/node_modules/client/lib/Hero.ts:421:22)
2024-08-31 12:44:46     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-08-31 12:44:46 
2024-08-31 12:44:46 --------------------------------------------------
2024-08-31 12:44:46 --------------------------------------------------
2024-08-31 12:44:46 ------aQW4MH4tckPqGmkXcB2mE-----------------------
2024-08-31 12:44:46 --------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions