Forum > Coding >

Cefsharp question

rxvyonline

cnh2eW9ubGluZQ

Posts: 3

Threads: 1

Joined: Dec, 2021

Reputation: 0

Posted

Do anyone knows how something like Browser.Document.InvokeScript names in Cefsharp WPF?

  • 0

programmer | exploits i own > synapse x | working on > ? executor

end();

ecstacy_lxnny

fka as delta

contentCreator

Posts: 764

Threads: 69

Joined: May, 2021

Reputation: 95

Replied

Dont remember exactly but its EvaluateScriptAsync I suppose

so smth like

await CefS.EvaluateScriptAsync("Whatever");

  • 0

fka as delta

rxvyonline

cnh2eW9ubGluZQ

Posts: 3

Threads: 1

Joined: Dec, 2021

Reputation: 0

Replied

@ecstacy_lxnny Am have error: 'ChromiumWebBrowser' does not contain a definition for 'EvaluateScriptAsync' and no accessible extension method 'EvaluateScriptAsync' accepting a first argument of type 'ChromiumWebBrowser' could be found (are you missing a using directive or an assembly reference?)

 

but thanks for trying helping me

  • 0

programmer | exploits i own > synapse x | working on > ? executor

end();

ecstacy_lxnny

fka as delta

contentCreator

Posts: 764

Threads: 69

Joined: May, 2021

Reputation: 95

Replied

@rxvyonline Send me ss of ur code on discord LittleKiller#9733

  • 0

fka as delta

rxvyonline

cnh2eW9ubGluZQ

Posts: 3

Threads: 1

Joined: Dec, 2021

Reputation: 0

Replied

@ecstacy_lxnny am added you

  • 0

programmer | exploits i own > synapse x | working on > ? executor

end();

Posts: 1658

Threads: 10

Joined: Sep, 2020

Reputation: 59

Replied

Use the ExecuteScriptAsync method

  • 0

Discord : Doctor Doom#0550

ecstacy_lxnny

fka as delta

contentCreator

Posts: 764

Threads: 69

Joined: May, 2021

Reputation: 95

Replied

@0x777_ Thats in Wpf WebView2 i suppose in CefSharp it's EvaluateScriptAsync 

  • 0

fka as delta

Posts: 1658

Threads: 10

Joined: Sep, 2020

Reputation: 59

Replied

@ecstacy_lxnny You have them backwards

  • 0

Discord : Doctor Doom#0550

Users viewing this thread:

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