SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.8k stars 762 forks source link

while recording, cannot use complex webpage (element with mouse in/out, and many repeated elements) #1658

Open whomobile opened 1 year ago

whomobile commented 1 year ago

🐛 Bug Report

While recording, accessing hubspot contact pages cause whole page stop.

Workaround: recompile code without locationbuilder without '@medv/finder'. Tried various options and update latest version of finder package but couldn't find way to make it work. after comment '@medv/finder' code, it started working.

Analysis: with website with mouse in/out event and many repeated elements, e.g. contact page has many contact entries, @medv/finder', is implemented non async way, and try many loops to find shortest path to element, which cause whole page blocked.

To Reproduce

Steps to reproduce the behavior:

  1. start recording
  2. open hubspot / contact pages
  3. try move mouse over contact element side
  4. browser hang: no action can be taking, click, type on that page

Expected behavior

should able to use the page while recording.

Project file reproducing this issue (highly encouraged)

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

Not ableto produce side file.

Environment

OS: macos Selenium IDE Version: v3 and v4 Selenium SIDE Runner Version: Node version: Browser: chrome Browser Version:

toddtarsi commented 1 year ago

@whomobile - I've frequently seen issues about being able to rank and prioritize selectors. It sounds like we also want to disable selectors conditionally as well.