allwright 0.0.1

Driverless browser automation engine with a high-level Rust client and optional CLI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use tokio::time::{Duration, sleep};

pub async fn boot() -> String {
    sleep(Duration::from_millis(10)).await;
    "android ready".to_string()
}

#[cfg(test)]
mod tests {
    use super::*;

    #[tokio::test]
    async fn boots_android_runtime() {
        assert_eq!(boot().await, "android ready");
    }
}