Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : webview2.devtools.dom

WebView2.DevTools.Dom - Extension WebView2 providing strongly typed DOM access/modification. ✔️ WebView2.DevTools.Dom is a library for strongly typed DOM access when using WebView2. ✔️ It provides a convenient way to write readable/robust/refactorable DOM access code. ✔️ Chrome DevTools Protocol based API ✔️ Talks directly to the WebView2 browser (no remote debugging port required). ✔️ Extensive Unit Tests ✔️ Free for everyone to use // Add using WebView2.DevTools.Dom; to get access to the CreateDevToolsContextAsync extension method var devToolsContext = await coreWebView2.CreateDevToolsContextAsync(); // Get element by Id // https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector var htmlDivElement = await devToolsContext.QuerySelectorAsync<HtmlDivElement>("#myDivElementId"); //Set innerText property for the element await htmlDivElement.SetInnerTextAsync("Welcome!"); // Manually dispose of context (only DisposeAsync is supported as the whole API is async) // alternativly use await using var devToolsContext = await coreWebView2.CreateDevToolsContextAsync(); // if your .Net version supports it. await devToolsContext.DisposeAsync(); Website: https://github.com/ChromiumDotNet/WebView2.DevTools.Dom

Registry - Homepage - JSON
purl: pkg:nuget/webview2.devtools.dom
Keywords: webview2, webview, devtools, dom, automation
License: MIT
Latest release: 3 months ago
First release: about 2 years ago
Downloads: 10,629 total
Stars: 50 on GitHub
Forks: 7 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/amaitland
Last synced: 20 days ago

    Loading...
    Readme
    Loading...