Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Dynamically get the chromedriver version based on browser

Options
  • 06-07-2021 1:33pm
    #1
    Registered Users Posts: 5,553 ✭✭✭


    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 Posts: 14,336 ✭✭✭✭jimmycrackcorm


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


Advertisement