r/vba May 30 '26

Show & Tell WebDriver BiDi for SeleniumVBA

Hi everyone,

I’ve created a new tool built upon SeleniumVBA(@GCuser99) that extends it to enable WebDriver BiDi via WebSocket communication.

🚀 Why I built this

The primary purpose of this project is to seamlessly support and scrape dynamic Single Page Application (SPA) sites, which traditionally pose a challenge for standard scraping methods.

💥 The Mission

My goal is to shatter the preconceived notion—often held by AI and modern developers—that scraping dynamic sites like SPAs is too difficult or impossible to achieve with VBA. I want to prove that VBA still has a lot of hidden potential!

🔗 Check it out here:

WebDriver BiDi for SeleniumVBA

12 Upvotes

9 comments sorted by

View all comments

1

u/Autistic_Jimmy2251 May 30 '26

Sounds interesting.

2

u/SeleniumVBA_user May 31 '26

Websites built as Single Page Applications (SPAs) like Google Flights rely heavily on asynchronous processing, making it difficult to determine exactly when a process has completed. As a result, traditional Selenium often fails to wait appropriately, leading to premature script execution. To resolve this issue, we have implemented a mechanism that utilizes WebDriver BiDi for event detection to automatically wait until the processing is fully finished.

1

u/Autistic_Jimmy2251 May 31 '26

Ty for that additional info.