Replies: 3 comments
|
For now, I ended up doing the following. Better alternatives are welcome: |
0 replies
|
Also, this is very flaky. I get an excepton in Microsoft.Web.WebView2.Core.CoreWebView2 |
0 replies
|
The API is based on puppeteer-sharp, so you achieve many of the things in the same way. You can type into a inputbox to simulate user input. //Type text in an input field
await element.TypeAsync("Welcome to my Website!");
//Scroll Element into View (if needed)
//Can optional specify a Rect to be scrolled into view, relative to the node's border box,
//in CSS pixels. When omitted, center of the node will be used
await element.ScrollIntoViewIfNeededAsync();
//Click The element
await element.ClickAsync();
Make sure you have only a single context at a time. See #11 (comment) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I change the input text programmatically like
But unfortunately this does not trigger a change event
All reactions