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

Interact with html #245

Open
giggio opened this issue May 30, 2019 · 1 comment
Open

Interact with html #245

giggio opened this issue May 30, 2019 · 1 comment

Comments

@giggio
Copy link

giggio commented May 30, 2019

Allow the C# code to interact with the page HTML/DOM.

A way to deliver this would be to offer a method that would allow the interaction. For example:

DOM.UpdateElement("#myelement", "el => el.textContent = 'foo'")

Where the first argument is a CSS selector, and the second is a function that takes the found element as an argument. Of course, this is a just an example so that we can get an idea and start a discussion.

With this available we can then make the docs generated with .NET Try even more interesting and interactive.

@irwinwilliams
Copy link

Yup. This is something I'd like to see as well. I'd love if my code could retrieve values from the dom as arguments.

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

No branches or pull requests

3 participants