selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Page Unresponsive message in chrome while recording testcase when clicking menu link

Open mmraghav opened this issue 4 years ago • 7 comments

🐛 Bug Report

Seeing Page Unresponsive message in chrome browser when we click on a menu during test case recording. If we write the commands in IDE manually instead of recording, Menu click works perfectly fine.

Clicking on menu works perfectly fine when we open the browser and try to click outside of IDE.

Environment

OS: MacOS Selenium IDE Version: 3.17.0

Browser: Browser Version: chrome 94.0.4606.61

image

mmraghav avatar Sep 24 '21 15:09 mmraghav

@mmraghav - Could you provide more detail here? I am unsure what you mean exactly by "Menu". Can you help provide a screenshot or two or something? Is this still occurring?

toddtarsi avatar Nov 18 '21 14:11 toddtarsi

yes it is still hapening. For normal web it's working fine. BUT , When I run recoring on dom extensive web it makes the page unresponsive. it shows lots of voilation warnings like mouse hover took 289ms and souce map not found 404.

image

meanwhile katalon is tackling it very preciesly using xpath. But in selenium we are using css or id . But in my case this unresponsiveness occurs when we have and <a tag in dom with scipt in it (with id attribute )

Screen Shot 2021-12-14 at 3 07 50 AM

aliwasif177 avatar Dec 13 '21 23:12 aliwasif177

@aliwasif177 - Interesting, thank you for the further details.

I believe you can use xpath from selenium-ide, if that will resolve your issue.

For the source map issues, that wouldn't impact performance. It's just that there aren't source maps for those assets.

I can be kind of dim witted, so I just want to repeat this back. If you have a (I'm assuming very big) script with an id on it, and you query that script using css or id, it crashes the browser on Selenium IDE. However, if you use Katalon, it works okay?

toddtarsi avatar Dec 15 '21 19:12 toddtarsi

Yes with katalon its working fine even though katalon is built on selenium. And yes surely I can get xpath with selenium ide.But for that sqa has to manually get the xpath for that node!

aliwasif177 avatar Dec 15 '21 22:12 aliwasif177

Anyway thanks alot for your reply @toddtarsi

aliwasif177 avatar Dec 15 '21 22:12 aliwasif177

I am also facing the same issue but can't find any solution. Have you found a solution yet? @aliwasif177

Ishika-200 avatar May 09 '24 05:05 Ishika-200

@Ishika-200 @aliwasif177 - Do either of you use v4? Do things seem better there?

toddtarsi avatar May 09 '24 11:05 toddtarsi