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

Anticipated the reset of 'delayedRecorder' variable #3293

Closed
wants to merge 3 commits into from
Closed

Anticipated the reset of 'delayedRecorder' variable #3293

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 27, 2016

  1. is detected a click on an element and the handler is saved in 'delayedRecorder' variable while checking if the click is meaningful (callIfMeaningfulEvent function).
  2. a DOM change event identify the 'click' as meaningful and the 'domModified' function execute the handler to record the command.
  3. if during this execution in the recording code itself or in an delayed code execution on the same element is fired a DOM change event, the handler stored in 'delayedRecorder' will be executed another time because the variable is still valorized. This will record a doubleClick instead of single one.

Laerten added 2 commits December 27, 2016 16:57
1) is detected a click on an element and the handler is saved in 'delayedRecorder' variable while checking if the click is meaningful (callIfMeaningfulEvent function).
2) a DOM change event identify the 'click' as meaningful and the 'domModified' function execute the handler to record the command.
3) if during this execution in the recording code itself or in an delayed code execution on the same element is fired a DOM change event, the handler stored in 'delayedRecorder' will be executed another time because the variable is still valorized. This will record a doubleClick instead of single one.
Anticipated the reset of 'delayedecorder' variable
@ghost ghost changed the title Anticipated the reset of 'delayedecorder' variable Anticipated the reset of 'delayedRecorder' variable Dec 27, 2016
Added useful log in domModified function
@lukeis lukeis added the C-ide label Jan 8, 2017
@barancev
Copy link
Member

barancev commented Sep 6, 2017

Selenium IDE development has been discontinued. No more new features and no bug fixes. From Firefox 55 onwards, Selenium IDE will no longer work [1]. The last supported version is Firefox ESR 52.

Yes, we've started a project to develop a new tool that should replace Selenium IDE. Follow #4406 for the progress.

Sorry this issue has not beed properly and timely addressed, and thank you for submission!

[1] https://seleniumhq.wordpress.com/2017/08/09/firefox-55-and-selenium-ide/

@barancev barancev closed this Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants