salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.19k stars 363 forks source link

how to add this argument to start CHROMIUM browser --disable-blink-features=AutomationControlled #504

Closed marcelo386 closed 3 months ago

marcelo386 commented 4 months ago

how to add this argument to start CHROMIUM browser --disable-blink-features=AutomationControlled

salvadordf commented 3 months ago

Add this before the GlobalCEFApp.StartMainProcess call in the DPR file : GlobalCEFApp.DisableBlinkFeatures := 'AutomationControlled';

You can also use GlobalCEFApp.AddCustomCommandLine for custom command line switches.

Please, use our forum for more questions.