Skip to content

Add --driver-version="keep" option #2121

@mdmintz

Description

@mdmintz

Add --driver-version="keep" option

By default, if your major driver version does not match your major browser version (eg: chromedriver version == 112, and Chrome version == 117), then a new driver will be downloaded to match your browser. But since SeleniumBase doesn't require your driver version to match your browser version, you could have a mismatched pairing, and there should be an option to keep the existing pairing, even if mismatched. This is especially useful if you need to run tests offline, while your current driver version does not match your current browser version.

This new option is specifically for:

  • chromedriver / Chrome
  • uc_driver / Chrome
  • msedgedriver / Edge

More info on special driver selection options here: #2036 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions