
Selenium web driver is what controls the browser. Go to tools > references > check ‘Selenium Type Library’ and click ok. Selenium VBA wrapper library – you can download and install it from hereġ.Open any excel file, go to code editor (Alt + f11) and create a sub.Microsoft Excel installed in windows OS – Selenium VBA wrapper is a windows COM library so it works only on windows.net wrapper for selenium which can be used in VBA and VB.net and that is the wrapper we are going to use in this tutorial. Boring web-based administration tasks can (and should!) also be automated as well. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. That’s it! What you do with that power is entirely up to you. Then why not use high performance browsers like chrome or firefox? Yes this post is all about browser automation in VBA using selenium VBA wrapper which enables automating high performance browsers like chrome and firefox with just few lines of code. Due to its poor performance automation also would be slow.

but there is a problem with Internet explorer! As we all know Internet explorer is the ‘God of all browsers’ – I mean we just use it to download other browsers because of its performance issues. VBA users have been using IE automation from many years and most of them still use it. most of them use Internet explorer by adding a reference to Microsoft Internet controls. When it comes to browser automation tasks in Excel VBA like filling a web form, login to a website etc.
