Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
pub(in crate::context_bootstrap) const WINDOW_LOCATION_SLOT: &str = "__moliWindowLocation";
pub(in crate::context_bootstrap) const WINDOW_LOCATION_HREF_SLOT: &str = "__moliWindowLocationHref";
pub(in crate::context_bootstrap) const WINDOW_CONSOLE_SLOT: &str = "__moliWindowConsole";
pub(in crate::context_bootstrap) const WINDOW_ORIGINAL_CONSOLE_SLOT: &str =
"__moliWindowOriginalConsole";
pub(in crate::context_bootstrap) const WINDOW_ONERROR_SLOT: &str = "__moliWindowOnError";
pub(in crate::context_bootstrap) const WINDOW_BODY_ONERROR_COMPILED_SLOT: &str =
"__moliWindowBodyOnErrorCompiled";
pub(in crate::context_bootstrap) const WINDOW_ONUNHANDLEDREJECTION_SLOT: &str =
"__moliWindowOnUnhandledRejection";
pub(in crate::context_bootstrap) const WINDOW_ONREJECTIONHANDLED_SLOT: &str =
"__moliWindowOnRejectionHandled";
pub(in crate::context_bootstrap) const WINDOW_NAVIGATOR_SLOT: &str = "__moliWindowNavigator";
pub(in crate::context_bootstrap) const WINDOW_EXTERNAL_SLOT: &str = "__moliWindowExternal";
pub(in crate::context_bootstrap) const NAVIGATOR_RUNTIME_DATA_SLOT: &str =
"__moliNavigatorRuntimeData";
pub(in crate::context_bootstrap) const WINDOW_HISTORY_SLOT: &str = "__moliWindowHistory";
pub(in crate::context_bootstrap) const WINDOW_NAVIGATION_SLOT: &str = "__moliWindowNavigation";
pub(in crate::context_bootstrap) const WINDOW_SCREEN_SLOT: &str = "__moliWindowScreen";
pub(in crate::context_bootstrap) const WINDOW_CRYPTO_SLOT: &str = "__moliWindowCrypto";
pub(in crate::context_bootstrap) const WINDOW_PERFORMANCE_SLOT: &str = "__moliWindowPerformance";
pub(in crate::context_bootstrap) const WINDOW_VISUAL_VIEWPORT_SLOT: &str =
"__moliWindowVisualViewport";
pub(in crate::context_bootstrap) const WINDOW_SPEECH_SYNTHESIS_SLOT: &str =
"__moliWindowSpeechSynthesis";
pub(in crate::context_bootstrap) const WINDOW_SCROLL_X_SLOT: &str = "__moliWindowScrollX";
pub(in crate::context_bootstrap) const WINDOW_SCROLL_Y_SLOT: &str = "__moliWindowScrollY";
pub(in crate::context_bootstrap) const WINDOW_SELECTION_SLOT: &str = "__moliWindowSelection";
pub(in crate::context_bootstrap) const WINDOW_LOCAL_STORAGE_SLOT: &str = "__moliWindowLocalStorage";
pub(in crate::context_bootstrap) const WINDOW_SESSION_STORAGE_SLOT: &str =
"__moliWindowSessionStorage";
pub(crate) const WINDOW_CUSTOM_ELEMENTS_SLOT: &str = "__moliWindowCustomElements";
pub(crate) const WINDOW_NAME_SLOT: &str = "__moliWindowName";
pub(crate) const CHILD_BROWSING_CONTEXT_HANDLE_SLOT: &str = "__moliChildBrowsingContextHandle";
pub(in crate::context_bootstrap) const WINDOW_SELF_SLOT: &str = "__moliWindowSelf";
pub(in crate::context_bootstrap) const WINDOW_PARENT_SLOT: &str = "__moliWindowParent";
pub(in crate::context_bootstrap) const WINDOW_TOP_SLOT: &str = "__moliWindowTop";
pub(in crate::context_bootstrap) const WINDOW_FRAMES_SLOT: &str = "__moliWindowFrames";
// Each SimpleEventTarget stores its own listener registry directly under this key.
pub(crate) const SIMPLE_EVENT_TARGET_LISTENERS_SLOT: &str = "__moliEventTargetListeners";
pub(in crate::context_bootstrap) const OFFLINE_AUDIO_BUFFER_SLOT: &str = "__moliOfflineAudioBuffer";
pub(in crate::context_bootstrap) const DOM_IMPLEMENTATION_SINGLETON_SLOT: &str =
"__moliDOMImplementationSingleton";
pub(in crate::context_bootstrap) const URL_HREF_SLOT: &str = "__moliUrlHref";
pub(in crate::context_bootstrap) const URL_SEARCH_PARAMS_SLOT: &str = "__moliUrlSearchParams";
pub(in crate::context_bootstrap) const URL_SEARCH_PARAMS_PAIRS_SLOT: &str =
"__moliUrlSearchParamsPairs";
pub(in crate::context_bootstrap) const URL_SEARCH_PARAMS_OWNER_SLOT: &str =
"__moliUrlSearchParamsOwner";
pub(in crate::context_bootstrap) const FORM_DATA_ENTRIES_SLOT: &str = "__moliFormDataEntries";
pub(in crate::context_bootstrap) const STATIC_RANGE_START_CONTAINER_STORAGE_KEY: &str =
"__moliStaticRangeStartContainer";
pub(in crate::context_bootstrap) const STATIC_RANGE_START_OFFSET_STORAGE_KEY: &str =
"__moliStaticRangeStartOffset";
pub(in crate::context_bootstrap) const STATIC_RANGE_END_CONTAINER_STORAGE_KEY: &str =
"__moliStaticRangeEndContainer";
pub(in crate::context_bootstrap) const STATIC_RANGE_END_OFFSET_STORAGE_KEY: &str =
"__moliStaticRangeEndOffset";
pub(in crate::context_bootstrap) const SELECTION_RANGE_SLOT: &str = "__moliSelectionRange";
pub(crate) const DOCUMENT_SELECTION_CHANGE_LISTENER_SLOT: &str =
"__moliDocumentSelectionChangeListener";
pub(in crate::context_bootstrap) const MESSAGE_CHANNEL_PORT1_SLOT: &str =
"__moliMessageChannelPort1";
pub(in crate::context_bootstrap) const MESSAGE_CHANNEL_PORT2_SLOT: &str =
"__moliMessageChannelPort2";
pub(in crate::context_bootstrap) const MESSAGE_PORT_PEER_SLOT: &str = "__moliMessagePortPeer";
pub(in crate::context_bootstrap) const MESSAGE_PORT_ONMESSAGE_HANDLER_SLOT: &str =
"__lmMessagePortOnmessageHandler";
pub(in crate::context_bootstrap) const MESSAGE_PORT_ONMESSAGEERROR_HANDLER_SLOT: &str =
"__lmMessagePortOnmessageerrorHandler";
pub(in crate::context_bootstrap) const MESSAGE_PORT_ONCLOSE_HANDLER_SLOT: &str =
"__lmMessagePortOncloseHandler";
pub(in crate::context_bootstrap) const MESSAGE_PORT_STARTED_SLOT: &str = "__moliMessagePortStarted";
pub(in crate::context_bootstrap) const MESSAGE_PORT_CLOSED_SLOT: &str = "__moliMessagePortClosed";
pub(in crate::context_bootstrap) const FILE_READER_QUEUE_SLOT: &str = "__moliFileReaderQueue";
pub(in crate::context_bootstrap) const FILE_READER_SCHEDULED_SLOT: &str =
"__moliFileReaderScheduled";
pub(in crate::context_bootstrap) const FILE_READER_PENDING_RESULT_SLOT: &str =
"__moliFileReaderPendingResult";
pub(in crate::context_bootstrap) const FILE_READER_PENDING_TOTAL_SLOT: &str =
"__moliFileReaderPendingTotal";
pub(in crate::context_bootstrap) const FILE_READER_READ_ID_SLOT: &str = "__moliFileReaderReadId";
pub(in crate::context_bootstrap) const FILE_READER_TASK_PHASE_SLOT: &str =
"__moliFileReaderTaskPhase";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_CALLBACK_ID_SLOT: &str =
"__moliResizeObserverCallbackId";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_CALLBACK_VALUE_SLOT: &str =
"__moliResizeObserverCallbackValue";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_CALLBACK_RELEVANT_GLOBAL_SLOT: &str =
"__moliResizeObserverCallbackRelevantGlobal";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_CALLBACK_INCUMBENT_GLOBAL_SLOT: &str =
"__moliResizeObserverCallbackIncumbentGlobal";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_TARGETS_SLOT: &str =
"__moliResizeObserverTargets";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_PENDING_TARGETS_SLOT: &str =
"__moliResizeObserverPendingTargets";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_QUEUE_SLOT: &str =
"__moliResizeObserverQueue";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_REGISTRY_SLOT: &str =
"__moliResizeObservers";
pub(in crate::context_bootstrap) const RESIZE_OBSERVER_SCHEDULED_SLOT: &str =
"__moliResizeObserverScheduled";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_CALLBACK_ID_SLOT: &str =
"__moliPerformanceObserverCallbackId";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_CALLBACK_VALUE_SLOT: &str =
"__moliPerformanceObserverCallbackValue";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_CALLBACK_RELEVANT_GLOBAL_SLOT: &str =
"__moliPerformanceObserverCallbackRelevantGlobal";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_CALLBACK_INCUMBENT_GLOBAL_SLOT: &str =
"__moliPerformanceObserverCallbackIncumbentGlobal";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_PENDING_SLOT: &str =
"__moliPerformanceObserverPending";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_TYPE_SLOT: &str =
"__moliPerformanceObserverType";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_MODE_SLOT: &str =
"__moliPerformanceObserverMode";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_ENTRY_TYPES_SLOT: &str =
"__moliPerformanceObserverEntryTypes";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_ACTIVE_SLOT: &str =
"__moliPerformanceObserverActive";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_SCHEDULED_SLOT: &str =
"__moliPerformanceObserverScheduled";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_QUEUE_SLOT: &str =
"__moliPerformanceObserverQueue";
pub(in crate::context_bootstrap) const PERFORMANCE_OBSERVER_SUPPORTED_ENTRY_TYPES_SLOT: &str =
"__moliPerformanceObserverSupportedEntryTypes";
pub(in crate::context_bootstrap) const PERFORMANCE_ENTRY_LIST_ENTRIES_SLOT: &str =
"__moliPerformanceEntryListEntries";
pub(in crate::context_bootstrap) const PERFORMANCE_ENTRIES_SLOT: &str = "__moliPerformanceEntries";
pub(in crate::context_bootstrap) const MEDIA_QUERY_LIST_MEDIA_SLOT: &str =
"__moliMediaQueryListMedia";
pub(in crate::context_bootstrap) const MEDIA_QUERY_LIST_MATCHES_SLOT: &str =
"__moliMediaQueryListMatches";
pub(in crate::context_bootstrap) const MEDIA_QUERY_LIST_ONCHANGE_SLOT: &str =
"__moliMediaQueryListOnchange";
pub(in crate::context_bootstrap) const MEDIA_QUERY_LIST_REGISTRY_SLOT: &str =
"__moliMediaQueryLists";
pub(in crate::context_bootstrap) const CRYPTO_KEY_KIND_SLOT: &str = "__moliCryptoKeyKind";
pub(in crate::context_bootstrap) const CRYPTO_KEY_ALGORITHM_SLOT: &str = "__moliCryptoKeyAlgorithm";
pub(in crate::context_bootstrap) const CRYPTO_KEY_EXTRACTABLE_SLOT: &str =
"__moliCryptoKeyExtractable";
pub(in crate::context_bootstrap) const CRYPTO_KEY_USAGES_SLOT: &str = "__moliCryptoKeyUsages";
pub(in crate::context_bootstrap) const CRYPTO_KEY_VISIBLE_ALGORITHM_SLOT: &str =
"__moliCryptoKeyVisibleAlgorithm";
pub(in crate::context_bootstrap) const CRYPTO_KEY_VISIBLE_USAGES_SLOT: &str =
"__moliCryptoKeyVisibleUsages";
pub(in crate::context_bootstrap) const CRYPTO_KEY_BYTES_SLOT: &str = "__moliCryptoKeyBytes";
pub(in crate::context_bootstrap) const READABLE_STREAM_QUEUE_SLOT: &str =
"__moliReadableStreamQueue";
pub(in crate::context_bootstrap) const READABLE_STREAM_QUEUE_HEAD_SLOT: &str =
"__moliReadableStreamQueueHead";
pub(in crate::context_bootstrap) const READABLE_STREAM_CLOSED_SLOT: &str =
"__moliReadableStreamClosed";
pub(in crate::context_bootstrap) const READABLE_STREAM_ERROR_SLOT: &str =
"__moliReadableStreamError";
pub(in crate::context_bootstrap) const READABLE_STREAM_LOCKED_SLOT: &str =
"__moliReadableStreamLocked";
pub(in crate::context_bootstrap) const READABLE_STREAM_DISTURBED_SLOT: &str =
"__moliReadableStreamDisturbed";
pub(in crate::context_bootstrap) const READABLE_STREAM_HWM_SLOT: &str =
"__moliReadableStreamHighWaterMark";
pub(in crate::context_bootstrap) const READABLE_STREAM_CONTROLLER_SLOT: &str =
"__moliReadableStreamController";
pub(in crate::context_bootstrap) const READABLE_STREAM_BYTE_STREAM_SLOT: &str =
"__moliReadableStreamByteStream";
pub(in crate::context_bootstrap) const READABLE_BYTE_STREAM_AUTO_ALLOCATE_CHUNK_SIZE_SLOT: &str =
"__moliReadableByteStreamAutoAllocateChunkSize";
pub(in crate::context_bootstrap) const READABLE_BYTE_STREAM_PENDING_PULL_INTOS_SLOT: &str =
"__moliReadableByteStreamPendingPullIntos";
pub(in crate::context_bootstrap) const READABLE_BYTE_STREAM_BYOB_REQUEST_SLOT: &str =
"__moliReadableByteStreamByobRequest";
pub(in crate::context_bootstrap) const READABLE_STREAM_PULL_STATE_SLOT: &str =
"__moliReadableStreamPullState";
pub(crate) const READABLE_STREAM_CHILD_REALM_HANDLED_REJECTION_SLOT: &str =
"__moliReadableStreamChildRealmHandledRejection";
pub(in crate::context_bootstrap) const READABLE_STREAM_PENDING_READS_SLOT: &str =
"__moliReadableStreamPendingReads";
pub(in crate::context_bootstrap) const READABLE_STREAM_PENDING_READ_PROMISE_SLOT: &str =
"__moliReadableStreamPendingReadPromise";
pub(in crate::context_bootstrap) const READABLE_STREAM_PENDING_CLOSED_PROMISES_SLOT: &str =
"__moliReadableStreamPendingClosedPromises";
pub(in crate::context_bootstrap) const READABLE_STREAM_PIPE_OWNER_SLOT: &str =
"__moliReadableStreamPipeOwner";
pub(in crate::context_bootstrap) const READABLE_STREAM_TEE_STATE_SLOT: &str =
"__moliReadableStreamTeeState";
pub(in crate::context_bootstrap) const READABLE_STREAM_READER_STREAM_SLOT: &str =
"__moliReadableStreamReaderStream";
pub(in crate::context_bootstrap) const READABLE_STREAM_READER_CLOSED_PROMISE_SLOT: &str =
"__moliReadableStreamReaderClosedPromise";
pub(in crate::context_bootstrap) const READABLE_STREAM_READER_CLOSED_PROMISE_ENTRY_SLOT: &str =
"__moliReadableStreamReaderClosedPromiseEntry";
pub(in crate::context_bootstrap) const READABLE_STREAM_BYOB_REQUEST_CONTROLLER_SLOT: &str =
"__moliReadableStreamByobRequestController";
pub(in crate::context_bootstrap) const READABLE_STREAM_BYOB_REQUEST_VIEW_SLOT: &str =
"__moliReadableStreamByobRequestView";
pub(in crate::context_bootstrap) const READABLE_STREAM_ITERATOR_READER_SLOT: &str =
"__moliReadableStreamIteratorReader";
pub(in crate::context_bootstrap) const READABLE_STREAM_ITERATOR_CLOSED_SLOT: &str =
"__moliReadableStreamIteratorClosed";
pub(in crate::context_bootstrap) const READABLE_STREAM_ITERATOR_PREVENT_CANCEL_SLOT: &str =
"__moliReadableStreamIteratorPreventCancel";
pub(in crate::context_bootstrap) const READABLE_STREAM_ITERATOR_RETURNING_SLOT: &str =
"__moliReadableStreamIteratorReturning";
pub(in crate::context_bootstrap) const READABLE_STREAM_ITERATOR_OPERATION_ACTIVE_SLOT: &str =
"__moliReadableStreamIteratorOperationActive";
pub(in crate::context_bootstrap) const READABLE_STREAM_ITERATOR_OPERATIONS_SLOT: &str =
"__moliReadableStreamIteratorOperations";
pub(in crate::context_bootstrap) const READABLE_STREAM_ASYNC_ITERATOR_PROTOTYPE_SLOT: &str =
"__moliReadableStreamAsyncIteratorPrototype";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_LOCKED_SLOT: &str =
"__moliWritableStreamLocked";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_SINK_SLOT: &str = "__moliWritableStreamSink";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_CONTROLLER_SLOT: &str =
"__moliWritableStreamController";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_ALGORITHMS_SLOT: &str =
"__moliWritableStreamAlgorithms";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_WRITER_STREAM_SLOT: &str =
"__moliWritableStreamWriterStream";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_CURRENT_WRITER_SLOT: &str =
"__moliWritableStreamCurrentWriter";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_WRITER_READY_PROMISE_SLOT: &str =
"__moliWritableStreamWriterReadyPromise";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_WRITER_CLOSED_PROMISE_SLOT: &str =
"__moliWritableStreamWriterClosedPromise";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_CLOSED_SLOT: &str =
"__moliWritableStreamClosed";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_TARGET_READABLE_SLOT: &str =
"__moliWritableStreamTargetReadable";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_TRANSFORMER_SLOT: &str =
"__moliWritableStreamTransformer";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_MODE_SLOT: &str = "__moliWritableStreamMode";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_STRATEGY_SLOT: &str =
"__moliWritableStreamStrategy";
pub(in crate::context_bootstrap) const WRITABLE_STREAM_PIPE_OWNER_SLOT: &str =
"__moliWritableStreamPipeOwner";
pub(in crate::context_bootstrap) const TRANSFORM_STREAM_READABLE_SLOT: &str =
"__moliTransformStreamReadable";
pub(in crate::context_bootstrap) const TRANSFORM_STREAM_WRITABLE_SLOT: &str =
"__moliTransformStreamWritable";
pub(in crate::context_bootstrap) const STREAM_CONTROLLER_STREAM_SLOT: &str =
"__moliStreamControllerStream";
pub(in crate::context_bootstrap) const STREAM_CONTROLLER_SIGNAL_SLOT: &str =
"__moliStreamControllerSignal";
pub(in crate::context_bootstrap) const STREAM_CONTROLLER_WRITABLE_STREAM_SLOT: &str =
"__moliStreamControllerWritableStream";
pub(in crate::context_bootstrap) const STREAM_CONTROLLER_ALGORITHMS_SLOT: &str =
"__moliStreamControllerAlgorithms";
pub(in crate::context_bootstrap) const TRANSFORM_STREAM_CONTROLLER_FINISH_PROMISE_SLOT: &str =
"__moliTransformStreamControllerFinishPromise";
pub(in crate::context_bootstrap) const TRANSFORM_STREAM_CONTROLLER_FINISH_RESIDENCE_SLOT: &str =
"__moliTransformStreamControllerFinishResidence";