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:

128 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,130
  • 10
  • 50
  • 98
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,204
  • 14
  • 71
  • 113
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
  • 657
  • 5
  • 19
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
  • 487
  • 1
  • 8
  • 27
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
  • 1
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
  • 12
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
  • 657
  • 5
  • 19
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
  • 5,259
  • 13
  • 43
  • 87
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
  • 893
  • 1
  • 7
  • 26
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
  • 5,259
  • 13
  • 43
  • 87
0
votes
0 answers

DCEF Flash plugin - Last Version DCEF3

I'm using tchromim but there are sites that still need flash installed on windows computer. I need a solution where you do not need to install adobe flash , is that possible? On the official website…
0
votes
0 answers

TChromium (cef-3) multiple page calls with short delay?

I have the following code, which I used back in a TWebBrowser project to handle a quick few calls to a webpage. Now, while this is probably not the "best" way to handle this, the crmBrowser is logged in and should in theory be able to do 5 calls in…
T.S
  • 326
  • 3
  • 18
0
votes
1 answer

Delphi Chromium Embedded (DCEF3) : The procedure entry could not be located in DLL

I installed the Delphi Chromium Embedded 3 (DCEF3) and it's working. The problem is, everytime i restart Delphi, i get this error : 'The procedure entry point @CefLib could not be located in the dynamic link library DCEF_D7.bpl'. I need to remove…
delphirules
  • 5,259
  • 13
  • 43
  • 87
1 2 3
8 9