Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Focus form control elements during fill_in#305

Open
seanpdoyle wants to merge 1 commit intorubycdp:main from
seanpdoyle:issue-157
Open

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

Conversation

@seanpdoyle
Copy link
Contributor

@seanpdoyle seanpdoyle commented Dec 22, 2025
edited
Loading

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Element is not focused with #fill_in?

1 participant

AltStyle によって変換されたページ (->オリジナル) /