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
1
vote
1 answer

How to result OK to a javascript confirm dialog chromium cef3

I'm crawling a certain webpage that requires me to click OK to a javascript confirm dialog before showing its content. I know how to automate click on a html button but not a js dialog. I tried : procedure TMainForm.crmJsdialog(Sender: TObject;…
Ago
  • 755
  • 7
  • 28
1
vote
1 answer

Page source update on run time - Chromium

On chromium you can get the page source using GetSourceProc like in this delphi code I found on the internet: procedure TForm1.Chromium1LoadEnd(Sender: TObject; const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); begin …
ZORRO_BLANCO
  • 849
  • 13
  • 25
1
vote
1 answer

How to Disable Downloading in Chromium CEF3

How to Disable Downloading in Chromium CEF3? I looked in the event onBeforeDownload but can't find a thing. All the parameters are constant. If I don't put any code in it will still continue to download. Thanks in advance
Ago
  • 755
  • 7
  • 28
1
vote
0 answers

Workaround for provisional headers in Chromium

I´m using the CEF TChromium component and I´m seeing that Chromium is doing some stuff with the HTTP headers. I´ve seen this is an open issue in the CEF project. My problem is that this "Provisional headers" sent by the browser don´t have a session…
Héctor C.
  • 433
  • 4
  • 17
1
vote
1 answer

TChromium OnClick

I want to track how many clicks the user did inside TChromium. I don't care if he clicks in a "white space"/link/button/image/etc.. I just want to know how many clicks he did. I was hoping there is Onclick event in TChromium but there is none. How…
Ago
  • 755
  • 7
  • 28
1
vote
0 answers

CEF3 crash when loading large images

I'm use CEF 3.2454.1344.g2782fb8 (Chromium 45.0.2454.101) in my project in Delphi 10.1. (I have to use a fairly old version of CEF/Chromium for backwards compatibility with WinXP). So I noticed a strange pattern: the application crashes every time…
Red October
  • 689
  • 2
  • 12
  • 31
1
vote
1 answer

TChromium individual resource download completion event?

Currently I've got TWebBrowser embedded in an application which "logs" activity in an online game, so that statistics about that game can be shown to the user. This works fine currently, but TWebBrowser appears to be a mighty bit slower than…
T.S
  • 355
  • 4
  • 18
1
vote
1 answer

DCEF3 TChromium : iterate the DOM and click buttons / fill inputs

Because Internet Explorer is dead, i'm in the (long) process to replace TWebbrowser by TChromium in all my applications. With TWebbrowser we had a complete and well documented interface to access the DOM through the IHTMLElement interface. Since…
delphirules
  • 6,443
  • 17
  • 59
  • 108
1
vote
1 answer

TChromium : How to keep session alive

When using DCEF3 TChromium, how can i keep the session alive ? For instance, if i go to a web-site and login on it, when i close my app and open it again, i need to login again. I want to keep the session alive, just like it would be if i use…
delphirules
  • 6,443
  • 17
  • 59
  • 108
1
vote
0 answers

DCEF3 on C++ Builder, how to get ICefCookieManager

I compiled DCEF3 in Rad Studio XE for C++. It works perfectly, but I don't know how to work with cookies. I read in delphi that I have to create variable with type ICefCookieManager, but how can I get that class in C++ Builder? Thanks for help.
1
vote
1 answer

Different cookie handlers for two chromium instances on one form

I'm using DCEF3 on Delphi XE3. Task is : Create different cookie storages for different TChromium instances. Problem : I'm creating different ICefCookieManager instances for each TChromium instances and its returning in GetCookieManager…
Abraham Tugalov
  • 1,902
  • 18
  • 25
1
vote
0 answers

Why doesn't Chromium render a web page on one particular computer?

I have a strange problem using DCEF3 (last version - c30150c47432 - CEF 3.1650.1562) in a Delphi application. All seems to be ok on all PC where I install application, except for a PC, where there is the following problem: when Chromium loads web…
henry60
  • 463
  • 12
  • 24
1
vote
1 answer

DCEF3: How to get a screenshot

How to get screenshot of browser in DCEF3? I create browser like this without VCL. The TakePicture method will only work if No debugger is used If ShowWindow is used var info: TCefWindowInfo; Settings: TCefBrowserSettings; begin …
user3655788
  • 135
  • 1
  • 10
1
vote
0 answers

DCEF3 crashes with CefShutDown

If I set the switch CEF_MULTI_THREADED_MESSAGE_LOOP and CefSingleProcess := True the application will crash everytime CefShutDown is called. Can someone can explain why this happens? It crashes with builds past 15xx. unit test; interface uses …
user3060326
  • 187
  • 2
  • 16
1
vote
1 answer

Detecting URL changes using Delphi and TChromium

I am using dcef3 and Delphi XE2. When the URL changes I would like to detect it and show a delphi message displaying the new URL. Can this be achieved? I am trying to use the URL to pass delphi some commands to execute. Thank you for your help and…
user1536396
  • 489
  • 2
  • 7
  • 22
1 2 3
8 9