


Syntax : Dim drivername as new WebDriver Dim bot as new WebDriver Selenium web driver is what controls the browser. Go to tools > references > check ‘Selenium Type Library’ and click ok.

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.
