Proc macros for the ferridriver test framework.
Provides #[ferritest] to register async browser test functions
with automatic fixture injection based on parameter types.
use ferridriver_test::prelude::*;
#[ferritest]
async fn basic_navigation(page: Page) {
page.goto("https://example.com", None).await.unwrap();
expect(&page).to_have_title("Example").await.unwrap();
}
#[ferritest(retries = 2, timeout = "30s", tag = "smoke")]
async fn flaky_test(page: Page, context: BrowserContext) {
// ...
}