Skip to content

Commit bb0f418

Browse files
authored
Update README.md
1 parent abd6107 commit bb0f418

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

README.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
# VBAChromeDevProtocol
2-
VBA (Excel) based wrapper for Chrome Developer Protocol (CDP) - sorta a VBA version of Puppeteer/Selenium
2+
**VBA** (Excel) based wrapper for **Chrome Developer Protocol (CDP)** - sorta a VBA version of Puppeteer/Selenium
33

44
Note: if you can use Puppeteer, Playright, Selenium, or some other tool - then use it!
55
But if you can only use VBA, then this is meant to provide a means to automate Chrome or Edge based browsers. (Possibly Firefox via its limited CDP support, though currently untested/nonfunctional).
66

7-
TODO: this currently relies on Chrome/Edge's ability to do the CDP via pipes when started, a future version will connect to the websocket to allow connecting to existing browsers.
8-
97
See https://chromedevtools.github.io/devtools-protocol/ for overview of Chrome Devloper Protocol
108
Initial work based on information and clsEdge from https://www.codeproject.com/Tips/5307593/Automate-Chrome-Edge-using-VBA
119

12-
Special thanks / uses source based on
10+
## TODO
11+
- this currently relies on Chrome/Edge's ability to do the CDP via pipes when started, a future version will connect to the websocket to allow connecting to existing browsers.
12+
- improve/add usage documentation
13+
- generator needs some more work (still has some class names too long/clash, still has some clashes with reserved words, incorrectly assumes class for unspecified _object_)
14+
15+
## Usage
16+
see Example.xlsm - documentation to be added
17+
18+
## Special thanks / uses source based on
1319

14-
clsCDP derived from clsEdge : https://www.codeproject.com/Tips/5307593/Automate-Chrome-Edge-using-VBA - CPOL license copyright ChrisK23
15-
JsonConverter : https://github.com/VBA-tools/VBA-JSON - BSD license copyright Ryo Yokoyama
16-
clsProcess : https://stackoverflow.com/questions/62172551/error-with-createpipe-in-vba-office-64bit
17-
basUtf8FromString : https://www.di-mgt.com.au/basUtf8FromString64.bas.html - MIT copyright David Ireland DI Management Services Pty
18-
WinHttpCommon / clsWebSocket : https://github.com/EagleAglow/vba-websocket-class - MIT copyright EagleAglow
19-
ClipboardUtils : https://msdn.microsoft.com/en-us/library/office/ff192913.aspx?f=255&MSPPError=-2147217396
20-
WinWindowStyle : https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow
20+
- clsCDP derived from clsEdge : https://www.codeproject.com/Tips/5307593/Automate-Chrome-Edge-using-VBA - CPOL license copyright ChrisK23
21+
- JsonConverter : https://github.com/VBA-tools/VBA-JSON - BSD license copyright Ryo Yokoyama
22+
- clsProcess : https://stackoverflow.com/questions/62172551/error-with-createpipe-in-vba-office-64bit
23+
- basUtf8FromString : https://www.di-mgt.com.au/basUtf8FromString64.bas.html - MIT copyright David Ireland DI Management Services Pty
24+
- WinHttpCommon / clsWebSocket : https://github.com/EagleAglow/vba-websocket-class - MIT copyright EagleAglow
25+
- ClipboardUtils : https://msdn.microsoft.com/en-us/library/office/ff192913.aspx?f=255&MSPPError=-2147217396
26+
- WinWindowStyle : https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow

0 commit comments

Comments
 (0)