This is a method to directly automate Chromium-based web browsers, such as Chrome, Edge, and Firefox, using VBA for Office applications by following the Chrome DevTools Protocol framework.
This method enables direct automation with Chromium-based web browsers for VBA without the need for a third-party software like SeleniumBasic. The framework also includes many examples and useful functions added to the original repository while keeping the whole design as simple as possible to help you understand and get started quickly with deploying the CDP framework for your VBA solutions.
For Demo
Open CDP Framework.xlam and look for the module named "Demo" inside there.
For Installation
Download CDP Framework.xlam and open it.
Copy CDPBrowser, CDPCore, CDPElement, CDPJConv classes over to your VBA project.
Make sure your project has Microsoft Scripting Runtime reference.
Partager