Categories > Coding > C# >

execute button


Posts: 13

Threads: 8

Joined: Jan, 2022

Reputation: 0

  • 0

Posted

 HtmlDocument document = webView21.Document;
            string scriptName = "GetText";
            object[] args = new string[0];
            object obj = document.InvokeScript(scriptName, args);
            string script = obj.ToString();

            API.Execute(script);

How can i do this with webVeiw2?

z_Kenneth

zKenneth#3492

Posts: 56

Threads: 6

Joined: Oct, 2021

Reputation: 2

  • 0

Replied

u should consult parex's webview2 api

thank to nihon owner for rep

Posts: 227

Threads: 10

Joined: Feb, 2021

Reputation: 9

  • 0

Replied

The best way is to read the webview2 docs.

if youre dumb enough like me ofcc!!!! just see parex webview2 thread >_<

Im netral, not evil, not too kind either.

ThatPhoenix

Socially Awkward

Posts: 2423

Threads: 57

Joined: May, 2020

Reputation: 17

  • 0

Replied

@OrbitRBX

stop being slow!!

https://cdn.discordapp.com/attachments/763497531010711562/980416910292312114/Vector_330_500_px_6.png

Join Vector - https://discord.gg/Ag45a5sjpj

Phoenix#8419 | JavaScript & C# | Learning C/C++



Users viewing this thread:


( Members: 0, Guests: 1, Total: 1 )