MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Feature]: Support toggling and closing devtools
Open
@Lakshmisha-KS is already working on this.
Since Nov 25, 2024.
feature request
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature/enhancement you need
There is an OpenDevToolsWindow method, but no CloseDevToolsWindow or ToggleDevToolsWindow
The scenario/use case where you would use this feature
I want to hook into F12 and toggle devtools. In some cases, I might want to programmatically close devtools.
How important is this request to you?
Nice to have. There are other ways to tackle this, but having official API support would be beneficial.
Suggested implementation
Electron has APIs to handle this (here and here)
What does your app do? Is there a pending deadline for this request?
No response
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.