use crate WebDriverResult;
use Future;
use Duration;
/// Helper to run the specified future and block the current thread waiting for the result.
///
/// This is mostly used within tests.
///
/// NOTE: This cannot be used within an active tokio runtime.
/// Helper to sleep asynchronously for the specified duration.
pub async