Questions tagged [tchromium]

TChromium is a VCL control wrapping around the "Chromium" web browser.It is defined in the cefvcl.pas unit. It's included in the Delphi "Chromium Embedded project" by Henri Gourvest.

Websites:

129 questions
0
votes
1 answer

Create TChromium instance with code

I have an issue trying to create Delphi Chromium Embedded instance with code var Chromium: TChromium; begin Chromium := TChromium.Create(TcxTabSheet1); Chromium.Parent := TWinControl(TcxTabSheet1); Chromium.Align := alClient; …
Gad D Lord
  • 6,620
  • 12
  • 60
  • 106
0
votes
1 answer

Delphi Chromium Embedded: ICefBrowser.GetMainFrame returns NIL

I'd like to use TChromium component which is part of Delphi Chromium Embedded (http://code.google.com/p/delphichromiumembedded/). Unfortunately once I build the application and run it (it's inside 'bin' directory which contains all the CEF binaries,…
migajek
  • 8,524
  • 15
  • 77
  • 116
0
votes
1 answer

Delphi Chromium CEF4 Response Filter

Hi fellow stackoverflow, I have tinkering around delhi CEF4, REsponse filter, and try to catch load resource json responses. with the demo included here: But the problem looks like it can only triggered once. Is there anyway to make it triggered…
Int20h
  • 19
  • 4
0
votes
1 answer

Delphi - How to login to the Instagram with TChromium?

... var Header: ICefStringMultimap; Data: ICefPostData; request: ICefRequest; begin Header := TCefStringMultimapOwn.Create; Header.Append('Content-Type', 'application/x-www-form-urlencoded'); Data := TCefPostDataRef.New; …
0
votes
1 answer

window.chrome.webview.addEventListener vs. document.addEventListener

Which event listener is used for what? window.chrome.webview.addEventListener document.addEventListener Are these synonyms or is there a difference? If yes, which?
USauter
  • 295
  • 1
  • 9
0
votes
0 answers

How can I make a screenshot of the complete document loaded with chromium (CEF4) with Delphi?

I use TChromium (CEF4) with Delphi 10.3.3 and need to make a screenshot of the loaded page, not just the part visible. With TWebBrowser, I could just resize the browser to the length of the document via iHtmlDocument2, but I need to do it using…
user7415109
0
votes
0 answers

How to get the website error count in chromium cef3

For some reasons, I need to get error count of a webiste. I've been checking google for a while now but can't find any solutions. . In the picture, I want the value 5. How can I do it?
Ago
  • 755
  • 7
  • 28
0
votes
0 answers

TIdHTTP freeze on CEF work

I'm use CEF 3.2623.1401.gb90a3be (Chromium 49.0.2623.110) in my project in Delphi 10.1. (I have to use a fairly old version of CEF/Chromium for backwards compatibility with WinXP). Take a look to this code: procedure…
Red October
  • 689
  • 2
  • 12
  • 31
0
votes
1 answer

TChromium mouse click

I would like to simulate the mouse click on a page. I'm using TChromium in Delphi. I've tried the following code, but it did not work. code := 'document.getElementById(_2lkdt).click();'; Chromium1.Browser.MainFrame.ExecuteJavaScript(Code,…
Wilson Jr
  • 3
  • 2
0
votes
2 answers

ECefException: Invalid CEF Library version after upgrading to newer version of Chromium3

In an attempt to correct another problem, I've upgraded to a more recent version of Chromium Embedded (DCEF3). (Version I had was a year or so old.) I'm using delphi 2010. Now when my app tries to load the form with the TChromium control, I get…
Eric
  • 142
  • 1
  • 13
0
votes
0 answers

How can we avoid writing in the hosts file

We have a website. For it to run, we need to add an entry in the C:\Windows\System32\drivers\etc\hosts file, like this: 172.16.1.100 games.la.com We don't want to write in the hosts file. Also, the ip and domain is confidential. Is this doable? …
Ago
  • 755
  • 7
  • 28
0
votes
1 answer

Automation in websites

I have a Delphi application that uses a browser wrapper (TWebbrowser or TChromium) to do automated tasks in websites : data scrapping, login, click on interface and so on. Because i use Delphi, my app is limited to Windows. I'd like to port the same…
delphirules
  • 6,443
  • 17
  • 59
  • 108
0
votes
0 answers

How to consult a LocalStorage database on TChromium?

How to manipulate LocalStorage from a browser based on the TChromim component in a Delphi application? To create it using Javascript, however, I need to consult with Delphi. Here is an example of how I create LocalStorage and handle with…
0
votes
0 answers

DCEF3 “Incompatible types: method pointer and regular procedure” TCefFastStringVisitor.Create

I used in Delphi XE7 the following code to get frame source in DCEF3: procedure TForm1.Chromium1LoadEnd(Sender: TObject; const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); var CefStringVisitor:ICefStringVisitor; begin …
Marcoscdoni
  • 955
  • 2
  • 11
  • 31
0
votes
2 answers

Delphi TChromium : how to toggle between show and hide images with Options.ImageLoading

I'm using TChromium to navigate to pages. It has the property Options.ImageLoading , where you can specify if you want to show website's images or not. Problem is it works only with the option is set in design time. If i change this property in…
delphirules
  • 6,443
  • 17
  • 59
  • 108
1 2 3
8 9