Skip to content

Conversation

@seanpdoyle
Copy link
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
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?

1 participant