Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Object has been destroyed #1875

Open
bawarim opened this issue Nov 26, 2024 · 1 comment
Open

TypeError: Object has been destroyed #1875

bawarim opened this issue Nov 26, 2024 · 1 comment

Comments

@bawarim
Copy link

bawarim commented Nov 26, 2024

🐛 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

@kushvi1006
Copy link

TypeError: Object has been destroyed
Getting the above error while executing recorded session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants