|
16 | 16 | // under the License. |
17 | 17 |
|
18 | 18 | use crate::chrome::{ChromeManager, CHROMEDRIVER_NAME, CHROME_NAME}; |
| 19 | +use crate::config::OS::{MACOS, WINDOWS}; |
| 20 | +use crate::config::{str_to_os, ManagerConfig}; |
| 21 | +use crate::downloads::download_to_tmp_folder; |
19 | 22 | use crate::edge::{EdgeManager, EDGEDRIVER_NAME, EDGE_NAMES, WEBVIEW2_NAME}; |
20 | 23 | use crate::files::{ |
21 | 24 | create_parent_path_if_not_exists, create_path_if_not_exists, default_cache_folder, |
22 | 25 | get_binary_extension, path_to_string, |
23 | 26 | }; |
24 | | -use crate::firefox::{FirefoxManager, FIREFOX_NAME, GECKODRIVER_NAME}; |
25 | | -use crate::iexplorer::{IExplorerManager, IEDRIVER_NAME, IE_NAMES}; |
26 | | -use crate::safari::{SafariManager, SAFARIDRIVER_NAME, SAFARI_NAME}; |
27 | | -use std::{env, fs}; |
28 | | - |
29 | | -use crate::config::OS::{MACOS, WINDOWS}; |
30 | | -use crate::config::{str_to_os, ManagerConfig}; |
31 | | -use anyhow::Error; |
32 | | -use is_executable::IsExecutable; |
33 | | -use reqwest::{Client, Proxy}; |
34 | | -use std::collections::HashMap; |
35 | | - |
36 | | -use anyhow::anyhow; |
37 | | -use std::path::{Path, PathBuf}; |
38 | | -use std::time::Duration; |
39 | | -use walkdir::{DirEntry, WalkDir}; |
40 | | - |
41 | | -use crate::downloads::download_to_tmp_folder; |
42 | 27 | use crate::files::{parse_version, uncompress, BrowserPath}; |
| 28 | +use crate::firefox::{FirefoxManager, FIREFOX_NAME, GECKODRIVER_NAME}; |
43 | 29 | use crate::grid::GRID_NAME; |
| 30 | +use crate::iexplorer::{IExplorerManager, IEDRIVER_NAME, IE_NAMES}; |
44 | 31 | use crate::logger::Logger; |
45 | 32 | use crate::metadata::{ |
46 | 33 | create_browser_metadata, get_browser_version_from_metadata, get_metadata, write_metadata, |
47 | 34 | }; |
| 35 | +use crate::safari::{SafariManager, SAFARIDRIVER_NAME, SAFARI_NAME}; |
48 | 36 | use crate::safaritp::{SafariTPManager, SAFARITP_NAMES}; |
49 | 37 | use crate::shell::{ |
50 | 38 | run_shell_command, run_shell_command_by_os, run_shell_command_with_log, split_lines, Command, |
51 | 39 | }; |
| 40 | +use anyhow::anyhow; |
| 41 | +use anyhow::Error; |
| 42 | +use is_executable::IsExecutable; |
| 43 | +use reqwest::{Client, Proxy}; |
| 44 | +use std::collections::HashMap; |
| 45 | +use std::path::{Path, PathBuf}; |
| 46 | +use std::time::Duration; |
| 47 | +use std::{env, fs}; |
| 48 | +use walkdir::{DirEntry, WalkDir}; |
52 | 49 |
|
53 | 50 | pub mod chrome; |
54 | 51 | pub mod config; |
|
0 commit comments