Skip to content

[🚀 Feature]: Allow the new SeleniumManager CLI to be used as a Rust lib crate #11132

@stevepryde

Description

@stevepryde

Feature and motivation

Hi, I'm the owner/maintainer of the thirtyfour rust crate (rust selenium client).

We're looking at adding some functionality to thirtyfour in future to manage WebDriver versions and starting/stopping them locally. A lot of those features look like they will be part of the new SeleniumManager tool. However it's only a CLI at the moment.

It would be awesome if you could structure that rust crate as a lib + bin and expose the same API via the lib, so that thirtyfour can use this directly and expose the same functionality within our crate without having to shell out to run the binary (and require users to install the binary).

I'd be happy to contribute this feature if you like, including collaborating with people on your team to get the API/design right.

Usage example

Instead of rust projects having to shell out to the SeleniumManager CLI, it would be much nicer to import that crate as a dependency in thirtyfour and we can expose the same functionality via our own API in thirtyfour.

This provides far better integration for users of thirtyfour, and any other rust projects in the same space.

Metadata

Metadata

Assignees

Labels

C-rustRust code is mostly Selenium ManagerI-enhancementSomething could be betterJ-staleApplied to issues that become stale, and eventually closed.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions