def driver(deploy_url_sample: AppHarness) -> Generator[WebDriver, None, None]:
    """WebDriver fixture for testing deploy_url.

    Args:
        deploy_url_sample: AppHarness fixture for testing deploy_url.

    Yields:
        WebDriver: A WebDriver instance.
    """
    assert deploy_url_sample.app_instance is not None, "app is not running"
    driver = deploy_url_sample.frontend()
    try:
        yield driver
    finally:
        driver.quit()
WebDriver fixture for testing deploy_url.

    Args:
        deploy_url_sample: AppHarness fixture for testing deploy_url.

    Yields:
        WebDriver: A WebDriver instance.
    
tests/integration/test_deploy_url.py