Skip to content

Focus form control elements during fill_in#305

Closed
seanpdoyle wants to merge 1 commit intorubycdp:mainfrom
seanpdoyle:issue-157
Closed

Focus form control elements during fill_in#305
seanpdoyle wants to merge 1 commit intorubycdp:mainfrom
seanpdoyle:issue-157

Conversation

@seanpdoyle
Copy link
Copy Markdown
Contributor

@seanpdoyle seanpdoyle commented Dec 22, 2025

Closes #157
Related to #280

Change the lib/capybara/cuprite/javascripts/index.js to invoke HTMLElement.focus directly, rather than triggering a synthetic "focus" event.

Closes rubycdp#157
Related to rubycdp#280

Change the `lib/capybara/cuprite/javascripts/index.js` to invoke
[HTMLElement.focus][] directly, rather than triggering a synthetic
`"focus"` event.

[HTMLElement.focus]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus
@route
Copy link
Copy Markdown
Member

route commented Apr 3, 2026

I'm picking up the old PR in FIFO manner, sorry. It's all my fault for not spending enough time on the PRs, but now I'm catching up.

@route route closed this Apr 3, 2026
@seanpdoyle seanpdoyle deleted the issue-157 branch April 3, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Element is not focused with #fill_in?

2 participants