Selenium IDE is not recording keystrokes in input fields
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- testing-qa
Research direction
Start by tracing Selenium IDE’s recording flow for text inputs and how it handles Enter-key form submission; the issue does not name specific files or tests. Reproduce the steps in Firefox, then identify where the input value is missed and check existing recording tests. Done means a recording includes the typed text and submit action even when Enter is pressed before blur.
Written by the indexing model from the issue text.
Description
Description
When recording a test script using Selenium IDE, typed text in an input field (such as a search bar) is not captured if the user submits the form directly by pressing the Enter key without first clicking out of the input box or shifting focus away (blur event). As a result, the type command is omitted entirely from the recorded steps, causing recorded test workflows to fail upon playback.
Steps to Reproduce
- Open Selenium IDE and start a new project recording.
- Navigate to
https://www.google.com/(or any site with a search/text input field). - Click into the search input box and manually type a search query.
- Press the
Enterkey immediately to submit the form without clicking elsewhere on the page. - Stop recording and check the generated command list.
Expected Behavior
Selenium IDE should listen for keyup/keydown or input change events and capture the typed input (type command) along with the submit action (sendKeys ${KEY_ENTER} or submit), regardless of whether an explicit blur/un-focus event occurred before submission.
Actual Behavior
The IDE fails to register the input value. The type command for the field is omitted from the recorded test steps, recording only the navigation or no action at all for the input step.
Reproduction Project File
No response (The issue is consistently reproducible via the steps listed above).
Environment
- OS: Windows 11
- Selenium IDE Version:
3.17.4 - Browser: Mozilla Firefox
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 823
- Avg merge
- 3h 1m
- Merged PRs (30d)
- 117
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SeleniumHQ/selenium-ide
-
enhancement needs-triaging
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SeleniumHQ/selenium-ide#2061 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SeleniumHQ/selenium-ide#1853 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SeleniumHQ/selenium-ide#1174 · 3 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 66/100
SeleniumHQ/selenium-ide#990 · 8 comments · 2 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SeleniumHQ/selenium-ide#759 ·
Maintainers usually reply within 1 day
All issues in SeleniumHQ/selenium-ide
Similar issues
-
Codex使用可 かんたん コード
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ryuki-moro/Nicomaru#348 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day