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

Alert from Firefox: Firefox running slowly due to Selenium IDE

Open ShanWehttam opened this issue 8 years ago • 12 comments

Firefox 63.0.3 (32-bit) Windows 7 Selenium IDE 3.4.4

When i attempt to click a radio button on the page, a popup bar appears at the top of the page noting: "A script in the extension "Selenium IDE" is causing firefox to slow down." Within the popup i'm given 3 options: "Temporarily disable extension on page", "Stop It" and "Wait". This issue freezes the window and i'm unable to return to selenium IDE recorder without closing the window. Only with radio buttons is this happening for me. I have not tried this in chrome as i dont need to use chrome works fine when i run the script with webdriver Ruby bindings..

The "Select target on page" helper cannot seem to locate the radio button element in isolation, but i dont believe there is anything special about this.

input type="radio" name="ratePointForms[0].tenorType" value="O/N" id="gr-0" class="grid-radio"

Again, the page crashes when i use the "Select target on page" helper on this element

for ide team

Keep up the good work bringing IDE back to life. I've missed it

Thanks Matt

ShanWehttam avatar Nov 26 '18 12:11 ShanWehttam

Which website does this happen in?

corevo avatar Nov 26 '18 12:11 corevo

It occurs in an internal web page, so it's tricky to give you greater help to reproduce this at your end. I'll see if i can reproduce it in a public facing app with radio btns, to be more help

ShanWehttam avatar Nov 26 '18 12:11 ShanWehttam

I can't reproduce on W3schools radio btns. But i've found a workaround for my script

When i stop the recording at my point of interest and manually enter the selector i want e.g css=[id="gr-0"][value="O/N"], and click, then my script works and the selector turns green.

So my takeway is, the recorder script might randomly fail to pickup certain elements and the "Select Target on Page" tool might not identify some elements either. Firefox then complains that selenium is making it run slowly.

So i will continue to manually enter selectors where IDE cannot locate any.

Thanks Matt

ShanWehttam avatar Nov 26 '18 13:11 ShanWehttam

Firefox 64.0.2 64 bit. Selenium IDE 3.5.6 Windows 10

I'm seeing a similar problem. I'm new to Selenium and I'm a EE, not a software engineer, so I may be doing something wrong.

I had a few steps done, then clicked REC to add steps. As I click survey responses, Selenium takes 2 - 10 seconds to record my clicks and eventually freezes.

This first video clip (mp4) shows the FF script warning repeatedly being displayed.
selenium1.zip One thing that is slightly odd is that the video capture tool, Screenpresso, normally shows mouse clicks via an animated cursor. That isn't happening while this browser is selected, but you can see it in the second clip.

In the second clip you can see I'm trying to stop recording, but clicking the Stop Recording button isn't working. cant stop2.zip

I'll add more as I figure things out. Ron

HSI-Ron avatar Feb 14 '19 16:02 HSI-Ron

Hey Ron,

We released a fix earlier today that addresses performance issues when recording.

Can you try again with version 3.5.7 of the IDE?

Cheers, Dave H

בתאריך יום ה׳, 14 בפבר׳ 2019 ב-18:13 מאת HSI-Ron [email protected]:

Firefox 64.0.2 64 bit. Selenium IDE 3.5.6 Windows 10

I'm seeing a similar problem. I'm new to Selenium and I'm a EE, not a software engineer, so I may be doing something wrong.

I had a few steps done, then clicked REC to add steps. As I click survey responses, Selenium takes 2 - 10 seconds to record my clicks and eventually freezes.

This first video clip (mp4) shows the FF script warning repeatedly being displayed. selenium1.zip https://github.com/SeleniumHQ/selenium-ide/files/2865829/selenium1.zip One thing that is slightly odd is that the video capture tool, Screenpresso, normally shows mouse clicks via an animated cursor. That isn't happening while this browser is selected, but you can see it in the second clip.

In the second clip you can see I'm trying to stop recording, but clicking the Stop Recording button isn't working. cant stop2.zip https://github.com/SeleniumHQ/selenium-ide/files/2865838/cant.stop2.zip

I'll add more as I figure things out.

Ron

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SeleniumHQ/selenium-ide/issues/506#issuecomment-463687784, or mute the thread https://github.com/notifications/unsubscribe-auth/AAb5sURVkGQ2K5l1pXzva5d8Q-gn613wks5vNYsngaJpZM4Yy5wR .

tourdedave avatar Feb 14 '19 16:02 tourdedave

Thanks Dave, I'll give the new version a try (hopefully today).

HSI-Ron avatar Feb 14 '19 16:02 HSI-Ron

3.5.7 appears to have fixed the problem I was having. Thanks!

HSI-Ron avatar Feb 14 '19 17:02 HSI-Ron

Terrific! \o/

tourdedave avatar Feb 14 '19 17:02 tourdedave

I'm on 3.5.8 and I have the same problem in both Firefox: 65.0.2 (64-bit) and Chrome: Version 72.0.3626.121 (Official Build) (64-bit). Is it possible it regressed in 3.5.8? I can't use the field selector at all. It starts racking up CPU and gives me the option to wait or kill it. I can click wait repeatedly but it doesn't help and finally I have to kill it.

dleigh avatar Mar 09 '19 14:03 dleigh

@dleigh Can you share what site you're testing against and the flow you take through it? It would help us narrow down where to look.

tourdedave avatar Mar 10 '19 07:03 tourdedave

Hi I seem to be having this same issue with the latest version of Firefox, 66.0.5 and latest version of selenium 3.7.1 The issue occurs at the same point each time i attempt this, entering textarea. It is a local web page. Thanks

halbri avatar May 14 '19 11:05 halbri

I'm going to close this issue since the OP confirmed this issue was resolved months ago.

@dleigh & @halbri Please open a new issue by using the issue template to give as much detail as possible so we can see about reproducing the performance issue.

tourdedave avatar May 14 '19 13:05 tourdedave