Skip to main content

validate_launch_options

Function validate_launch_options 

Source
pub fn validate_launch_options(
    extensions: Option<&[String]>,
    has_cdp: bool,
    profile: Option<&str>,
    storage_state: Option<&str>,
    allow_file_access: bool,
    executable_path: Option<&str>,
) -> Result<(), String>
Expand description

Validates launch/connect options for incompatible combinations. Returns Ok(()) if valid, or Err(msg) with a user-friendly error.