PerditionC / VBAChromeDevProtocol

VBA (Excel) based wrapper for Chrome Developer Protocol (CDP) - sorta a VBA version of Puppeteer/Selenium
https://PerditionC.github.io/VBAChromeDevProtocol/
MIT License
61 stars 13 forks source link

Enhance browser selection and enable additional inlineCommands #9

Closed moaoci closed 2 years ago

moaoci commented 2 years ago

To better control which browser to launch (without changing LaunchBrowser default logic).

Add two parameters additionalInlineCommands killWithoutAsking

Allow these parameters and whichBrowser to follow thru the whole sequence AutomateBrowser.Launch, clsCDP.Launch and Browsers.LaunchBrowser

Create functions to choose browserType outside of LaunchBrowser preset order getFirstAvailableBrowser (browser1, browser2, browser3) that will get the first non running installed browser getFirstInstalledBrowser (browser1,browser2,browser3)

Add noBrowser to browserType enumeration

Show / document examples in examples.xlam

PerditionC commented 2 years ago

Pull Request with implementation merged, closing.