Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Webview2 html document #667

Closed
frSurfer opened this issue Nov 24, 2020 · 6 comments
Closed

Access Webview2 html document #667

frSurfer opened this issue Nov 24, 2020 · 6 comments
Labels
feature request feature request

Comments

@frSurfer
Copy link

You guys won't get any traction upon Webview2 until you give clear, easy and simple access to the html document object, like we used to do with the old webbrowser object!!!

Who is the genius that decided that to access the html document we developers must go through a full page of javascript? This is just "If we can find a way to make it more complicated, we will!".

Come on, you should be able to KISS... (Keep It Simple Sweetie)

@frSurfer frSurfer added the feature request feature request label Nov 24, 2020
@champnic
Copy link
Member

champnic commented Dec 3, 2020

Thanks for the feature request @frSurfer. We aren't currently planning on adding direct DOM access through the WebView2 control, though we do have an item on our backlog to track the feedback and asks from devs, and I've added this to it. You can try out https://github.com/ukandrewc/Webview2.Winforms.DOM and see if that works for your scenario.

@champnic champnic closed this as completed Dec 3, 2020
@jwooley
Copy link

jwooley commented May 12, 2021

@champnic unfortunately, there is no usage license on ukandrewc's implemention and he is keeping the source closed and not available on Nuget either. See https://github.com/ukandrewc/Webview2.Winforms.DOM/issues/8

@champnic
Copy link
Member

That's good to know, thanks for the info @jwooley. We have this feature ask tracked in #77.

@darbid
Copy link

darbid commented May 13, 2021

Have a look at this one https://github.com/R2D221/WebView2.DOM

@ukandrewc
Copy link

ukandrewc commented May 13, 2021

there is no usage license on ukandrewc's implemention

@jwooley I've added a licence now. Sorry, don't have time to learn Nuget just now. It's closed source because it's a library from a commercial package, and we haven't yet decided what to do with it.

@jwooley
Copy link

jwooley commented May 13, 2021

@darbid thanks for the link. I did see that one, but it's .Net 5 only but our current need is 4.8 (or netstandard) due to dependencies on WCF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request
Projects
None yet
Development

No branches or pull requests

5 participants