Browser test fails: "Cannot start the driver service"

Issue overview

Troubleshooting

Issue overview

Your browser mode test fails with an event generated that looks like this:

Web browser failed to execute with the provided configurations. Reason: Cannot start the driver service on http://localhost:23006/

If you look in the Engine logs for the failure, you will get more information telling you what the problem is:

2025-03-20T09:49:02.176+00:00 [WRN] The request driver 'EdgeChromium132' is not available, we will try the closest match 'EdgeChromium129'. If this fails, please upload the correct driver to the server. WZU1DSTDW10-1 
2025-03-20T09:49:50.771+00:00 [WRN] [Script] 'ReportExecutionError 'Web browser failed to execute with the provided configurations. Reason: Cannot start the driver service on http://localhost:23006/''', 'Warning' WZU1DSTDW10-1
2025-03-20T09:49:51.062+00:00 [ERR] [Script] 'An error occurred while running the script: 'Cannot start the driver service on http://localhost:23006/'', 'Error' WZU1DSTDW10-1

This means that the Selenium driver versions available for your web browser (Chrome, Edge, or Firefox ESR) do not match the actual version of your installed browser. Selenium normally will only tolerate the immediate previous version. In the above example, it means that Edge 132 would likely continue to work with the Edge 131 Selenium drivers, but fails with the Edge 129 Selenium drivers that the Appliance has installed.

Troubleshooting

To fix this, you will need to get the correct version of Selenium drivers installed on the appliance. See Updating Selenium Web Automation Drivers. If your Appliance has Internet access, you can simply go to the Login Enterprise sidebar menu > System, and manually check for new drivers. It’s recommended to enable regular driver updates. Every time a Test runs, the Appliance will provide the newest drivers it has, automatically.

Frame 979.png

If your Appliance does not have Internet access, you can manually download the drivers and place them on the Appliance. For instructions, see Updating browser drivers on Login Enterprise.

If you need to get new drivers installed in your Script Editor installation, you can follow that second article to update Script Editor on any machine where it is installed.

When a new version of Login Enterprise is released, it will have the latest drivers available at the time it was published. However, since new drivers come out all the time, it’s appropriate to check for them.