Skip to content

Truly independent web browser

543 B
Raw Blame
/*
 * Copyright (c) 2026, Shannon Booth <[email protected]>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/JsonValue.h>
#include <LibWebCommon/WebDriver/Capabilities.h>
#include <LibWebCommon/WebDriver/UserPrompt.h>

namespace WebView {

struct WebDriverSessionConfig {
    Web::WebDriver::UserPromptHandler user_prompt_handler;
    Web::WebDriver::PageLoadStrategy page_load_strategy { Web::WebDriver::PageLoadStrategy::Normal };
    bool strict_file_interactability { false };
    JsonValue timeouts;
};

}