viewpoint-core 0.4.3

High-level browser automation API for Viewpoint
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

// Note: Full tests require a CdpConnection which needs a real browser.
// These are basic structure tests.

#[test]
fn test_context_route_handler_debug() {
    // Just verify Debug is implemented
    let _fmt = format!(
        "{:?}",
        ContextRouteHandler {
            pattern: Box::new(UrlPattern::glob("*")),
            handler: Arc::new(|_| Box::pin(async { Ok(()) })),
        }
    );
}