Skip to content

Add option --driver-version="X.X.X.X" (exact match version) #2137

Closed
@mdmintz

Description

@mdmintz

Add option --driver-version="X.X.X.X" (exact match version)

Currently, only the major browser versions and major driver versions (Eg. 116, 117, etc.) are used to determine if a new version is needed. Let's expand that to allow for specific driver version downloads if that specific driver version isn't already on the PATH.

Eg. If chromedriver 117.0.5938.62 is in the seleniumbase/drivers folder, and the run command is pytest --driver-version="117.0.5938.92", then chromedriver 117.0.5938.92 should be downloaded, even though chromedriver 117.0.5938.62 has the same major browser version (117) and is already on the PATH.

(NOTE that for some Syntax Formats, the driver version is passed via method arg: driver_version="VERSION")

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions