Skip to content

TypeError: Object has been destroyed #1875

Open
@bawarim

Description

@bawarim

🐛 Bug Report

Hi,
I am running one of my web application in selenium IDE desktop application to record the test. But I have observed that most of the pages are not getting loaded inside selenium IDE', although the app is working fine when running on the browsers using the selenium IDE browser extension.
Getting below exception in the logs when the page not loaded. Could anyone please help?

4:42:01 AM [info] [ "api: 'Dispatch event' 'recorder.onFrameRecalculate' []" ]
4:42:01 AM [error] [
TypeError: Object has been destroyed
at WebContents.send (node:electron/js2c/browser_init:2:69142)
at C:\Program Files\Selenium IDE\resources\app.asar\build\webpack:\src\main\api\classes\EventListener.ts:113:18
at new Promise ()
at fn (C:\Program Files\Selenium IDE\resources\app.asar\build\webpack:\src\main\api\classes\EventListener.ts:105:7)
at map (C:\Program Files\Selenium IDE\resources\app.asar\build\webpack:\src\main\api\classes\EventListener.ts:39:62)
at Array.map ()
at Object.dispatchEvent (C:\Program Files\Selenium IDE\resources\app.asar\build\webpack:\src\main\api\classes\EventListener.ts:39:50)
at WebFrameMain. (C:\Program Files\Selenium IDE\resources\app.asar\build\webpack:\src\main\session\controllers\Windows\index.ts:590:60)
]

4:42:01 AM [info] [ "api: 'Listener removed' 'recorder.onFrameRecalculate'" ]
4:42:09 AM [info] [
"api: 'Received API Request' 'recorder.recordNewCommand' [\n" +
' {\n' +
" command: 'click',\n" +
' target: [ [Array], [Array], [Array] ],\n' +
" value: '',\n" +
' insertBeforeLastCommand: false,\n' +
" frameLocation: 'root',\n" +
" winHandleId: 'root'\n" +
' },\n' +
' false\n' +
']'
]

To Reproduce

Steps to reproduce the behavior:

Expected behavior

A clear and concise description of what you expected to happen.

Project file reproducing this issue (highly encouraged)

Please provide a project file .side that reproduces this issue.

Issues without a reproduction project are likely to stall.

Environment

OS: Windows 11
Selenium IDE Version: 4.0.1.0
Selenium SIDE Runner Version:
Node version:
Browser:
Browser Version: 132

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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