Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Can CEF4Delphi-105 (TChromium) work as a WebDriver

Post Reply
Pcrepair
Posts: 10
Joined: Tue Sep 27, 2022 5:09 pm

Can CEF4Delphi-105 (TChromium) work as a WebDriver

Post by Pcrepair »

Good day salvadordf
Please tell me if CEF4Delphi-105 can work as a WebDriver, i.e:
- send signals to the ?DOM
- enter values into web page forms
- control checkboxes
- click on buttons on the web page
Generally replace the operator

Please report YES or NO, if YES, please point to code examples

Thank you.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Can CEF4Delphi-105 (TChromium) work as a WebDriver

Post by salvadordf »

Hi,

CEF has an off-screen rendering mode that allows you to send mouse, keyboard and touch events to the web page manually. If you recorded those events in a previous session then you car replay them without human intervention. See the SimpleOSRBrowser demo.

The DOMVisitor demo also shows several ways to get and set values from the DOM elements.
Post Reply