pub async fn send_files_to_kindle(
    username: &str,
    password: &str,
    files: Vec<String>,
    file_timeout: usize,
    url: &str,
    daemon: bool,
    debugging_mode: bool
) -> WebDriverResult<()>
Expand description
  • Parameters:

    • username: The amazon username as str
    • password: The amazon password as str
    • files: A list of files to be uploaded as String Vec
    • file_timeout: Seconds assigned to each file before uploading times out
    • url: The amazon url to be used
    • daemon: Whether to run the geckodriver daemon or not. If not, it will have to be run externally
    • debugging_mode: For development purposes, enables GUI on the browser, does not send the files and prompts for user input to end the process
  • Description: Send the files to the kindle app and devices associated with the username and password amazon account

  • Notes: It is recommended to use the Args::default or Args::new functions to ensure some sane defaults and easier setup. Please note that the files vector of strings is not included in the Args struct and it is expected to be constructed separately.