question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
itsparsercommented, Oct 31, 2022

Hi @stevepryde, I am very much interested to work in this feature can you create the plan and roadmap? will help you out on that. we can connect using slack

0reactions
steveprydecommented, Nov 5, 2022

Hi @stevepryde, I am very much interested to work in this feature can you create the plan and roadmap? will help you out on that. we can connect using slack

See the above github-actions comment above yours. I’m not leading this feature and don’t have time to work on it currently, sorry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Features - The Cargo Book
Each feature specifies an array of other features or optional dependencies that it enables. The following examples illustrate how features could be used...
Read more >
Crates and Modules - The Rust Programming Language - MIT
Modules allow you to partition your code within the crate itself. ... a main() function, and is called lib.rs , Cargo will build...
Read more >
Awesome Rust | awesome-rust
A curated list of awesome Rust frameworks, libraries and software. ... vim-racer — allows vim to use Racer for Rust code completion and...
Read more >
Getting started with WebAssembly and Rust - LogRocket Blog
Rust crates are similar to packages and libraries for other languages. ... We'll use the wasm-pack CLI to create a new Wasm project....
Read more >
Command Line Applications - Fullstack Rust
Many command line applications that we use every day were written long ago when the ... like cURL with a few extra features,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found