Illia Abielientsev
Illia Abielientsev

Reputation: 91

How to update browser version via selenium?

Environment: OS: Windows server

I have remote Jenkins environment for python selenium tests running. Is it possible to force update browser version (Chrome, Firefox, etc) using selenium as preconditions before test running? For now I can only check version, but in case of failed version check I need to update browser manualy on Jenkins server. So updating via python selenium will be a big profit.

Upvotes: 0

Views: 925

Answers (1)

Ian Lesperance
Ian Lesperance

Reputation: 5139

Why would it be preferable to manage the installed version of the browser with Selenium?

Instead, use the build server's operating system's package manager, e.g., apt for Ubuntu:

apt-get install --assume-yes firefox

Upvotes: 1

Related Questions