Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Dynamically get the chromedriver version based on browser

  • 06-07-2021 01:33PM
    #1
    Registered Users, Registered Users 2 Posts: 5,754 ✭✭✭


    Anyone ever use Chromedriver in their code. So obviously we need to setup drivers, but id like to be able to

    1. Read my browser version
    2. Download the appropriate driver
    3. Use it

    Strikes me as something doable (and doneable before). Anyone ever do or have some sources?


Comments

  • Registered Users, Registered Users 2 Posts: 14,363 ✭✭✭✭jimmycrackcorm


    Package all the versions and instantiate the appropriate one. Have done this to allow run automation against Chrome, IE, FF.


Advertisement