MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Feature]: Get user data folder / runtime path without needing an instance of the webview2 control

Open
#4,454 7 comments 0 reactions 2 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

feature request
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Describe the feature/enhancement you need

See:

https://stackoverflow.com/q/78225121/2287576

We can get the SDK build number and runtime version without needing an actual browser instance. But we can't do the same for the user data folder and runtime path.

I can compute the UDF myself as I know where ask WV2 to set it. But I'll be relying on WV2 never changing the name of the WV2 folder that it creates. Is that likely to happen?

And surely the WV2 runtime could be exposed without needing an instance?

The scenario/use case where you would use this feature

I want this for my About window where I list system info. In this context I have no browser control active anywhere.

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

No response

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.