Cef4 Delphi Javascript

Post Reply
dkadir
Posts: 1
Joined: Sun May 02, 2021 7:01 pm

Cef4 Delphi Javascript

Post by dkadir »

Hello
I need to run a javascript code.
I can do this as follows:

chromium1.Browser.MainFrame.ExecuteJavaScript (code1, '', 0);

But when the code runs it gives a data
How can I get this return data from Delphi?
User avatar
salvadordf
Posts: 2912
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Cef4 Delphi Javascript

Post by salvadordf »

Hi,

Read this thread to know a few methods to send information from JavaScript to Delphi.
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1678
Post Reply