Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
use super::history_runtime::cancel_pending_precommit_history_traversal;
use super::location_navigation::{
LocationNavigationKind, NavigationNavigateHistoryKind, navigate_location_object,
};
use super::location_runtime::{is_same_document_fragment_navigation, location_href_slot};
use super::navigation_cross_document::handle_navigation_navigate_cross_document;
use super::navigation_entry::{history_entries, navigation_current_entry};
use super::navigation_entry_state::{
clone_navigation_entry_state, clone_navigation_state_arg_for_result, set_navigation_entry_state,
};
use super::navigation_events::{
NavigationDispatchOutcome, cancel_active_navigation_event,
dispatch_navigation_currententrychange, dispatch_navigation_navigate_event_with_outcome,
queue_hash_change_for_runtime_owner, run_navigation_precommit_deferred_handlers,
};
use super::navigation_mutation::{
apply_navigation_navigate_same_document, sync_local_document_front_from_window,
};
use super::navigation_projection::build_visible_navigation_entries_array;
use super::navigation_result::{
cancel_active_cross_document_navigation, cancel_pending_same_document_navigation_finishes,
cancel_pending_same_document_navigation_finishes_including_reentrant,
navigation_current_entry_result_with_deferred_finished,
navigation_current_entry_result_with_pending_finished,
navigation_current_entry_result_with_task_finished, navigation_dom_exception,
navigation_immediate_result_with_value, navigation_pending_result,
navigation_rejected_dom_exception_result, navigation_rejected_invalid_state_result,
navigation_rejected_value_result, navigation_result_with_pending_commit,
queue_same_document_navigation_finished, suppress_unhandled_rejection,
};
use super::navigation_serialize::sync_child_navigation_entry_seed_from_owner;
use super::navigation_window::{
navigation_document_base_url, navigation_document_has_opaque_origin, runtime_window_is_global,
runtime_window_owner, should_dispatch_hash_change, window_history_for_holder,
window_location_for_holder, window_navigation_for_holder,
};
use super::*;
use crate::native_bridge::throw_dom_exception;
mod accessors;
mod navigation;
pub(super) use accessors::{
document_location_getter, document_location_setter, window_history_getter,
window_location_getter, window_navigation_getter,
};
pub(super) use navigation::{
cancel_active_intercepted_same_document_navigation,
cancel_pending_precommit_same_document_navigation,
cancel_pending_precommit_same_document_navigation_for_window_stop, navigation_entries_callback,
navigation_navigate_callback, navigation_update_current_entry_callback,
queue_pending_precommit_same_document_navigation, settle_intercepted_same_document_navigation,
};