use std::collections::HashMap;
use self::web_browser::{Browser, ROOMS_URL, WEB_BROWSER};
use crate::Config;
use thirtyfour::prelude::WebDriverResult;
mod web_browser;
/// Create a new instance of `Browser` and associate it with the static variable `WEB_BROWSER`.
/// This is an unsecure type of usage, so the block is inside the `unsafe` block
pub async fn init(config: &Config) {
unsafe {
WEB_BROWSER = Some(Browser::new(config).await);
}
}
/// Get the faculties available for booking a room
pub async unsafe fn get_faculties() -> WebDriverResult