Commit 96493fb
committed
Focus form control elements during
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/focusfill_in
1 parent bc06cc0 commit 96493fb
File tree
2 files changed
+2
-2
lines changed- lib/capybara/cuprite/javascripts
- spec/features
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
1536 | | - | |
| 1536 | + | |
1537 | 1537 | | |
1538 | 1538 | | |
1539 | 1539 | | |
| |||
0 commit comments