Skip to content

Commit

Permalink
Derive Clone for LaunchOptions (rust-headless-chrome#400)
Browse files Browse the repository at this point in the history
Co-authored-by: Roel Sengers <roel.sengers@ambassadors.com>
  • Loading branch information
2 people authored and pull[bot] committed Oct 9, 2023
1 parent 7a72f72 commit 0a240ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/process.rs
Expand Up @@ -79,7 +79,7 @@ impl Drop for TemporaryProcess {

/// Represents the way in which Chrome is run. By default it will search for a Chrome
/// binary on the system, use an available port for debugging, and start in headless mode.
#[derive(Debug, Builder)]
#[derive(Clone, Debug, Builder)]
pub struct LaunchOptions<'a> {
/// Determines whether to run headless version of the browser. Defaults to true.
#[builder(default = "true")]
Expand Down

0 comments on commit 0a240ef

Please sign in to comment.