MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Emulate Ctrl-F KeyDown event with DevTools method
Open
@david-risney is already working on this.
Since Dec 6, 2023.
bug
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I try to show FindString dialog by sending (emulating) Ctrl-F keys pressed to WebView2. When WebView2 has focus I call CallDevToolsProtocolMethod(L"Input.dispatchKeyEvent", L"{"type":"keyDown", "modifiers":2,"unmodifiedText":"F"}", ...), but nothing happens on screen and no errors raising. What I am doing wrong?
VC++ 2017
Windows 7 64bit
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.