Files
moli/moli-protocol/src/lib.rs
T

64 lines
2.8 KiB
Rust

//! Protocol-neutral automation owner and dispatch layer for Moli.
//!
//! This crate is being split away from the Chrome DevTools Protocol wire shape.
//! It still contains transitional CDP-named owner types, but protocol-specific
//! parsing and Chrome protocol metadata belong in
//! `moli-protocol-cdp`.
pub mod automation;
mod cdp_projection;
pub mod conn;
pub mod domains;
pub mod file_upload;
pub mod frame_index;
#[cfg(feature = "test-support")]
pub mod test_support;
pub use domains::command_output::client_window_info_json;
pub use domains::storage::cdp_cookie_same_site_wire_name;
#[cfg(test)]
pub mod testing;
pub mod version;
pub use automation::*;
pub use conn::{
AutomationCommandDispatchOutcome, BackgroundCommandResponsePayload, BackgroundProtocolEvent,
CdpCommandTaskStep, CdpConnection, CdpInitialStoragePartition, CdpRendererCommandAccess,
CdpRendererCommandReplacement, CdpRendererCommandReplayDispatch, CdpRendererOwnerTurnOutcome,
CdpSchedulerEvent, CdpTargetHostLifecycleDelta, CdpTargetHostLifecycleObserver, CdpTurnOutcome,
CommandDispatchContext, CommandResponseFlushContext, CommandResponseFlushPermit,
CommandResponseFlushState, CommandWaitLifetime, CompletedCdpCommandDispatch,
CompletedProtocolSchedulerWork, CompletedRuntimeProtocolMessageDispatch,
DEFAULT_CDP_PAGE_TARGET_ID, DEFAULT_CDP_TAB_TARGET_ID,
DeferredMainDocumentLoadCompletionOutputAction,
DeferredMainDocumentLoadCompletionOutputInterest, DeferredMainDocumentLoadObservationId,
DeferredMainDocumentLoadPredecessorCandidate, DevToolsDocumentLifecycleWaitKey,
DevToolsDocumentLifecycleWaitState, DevToolsDocumentNavigationState,
DevToolsDocumentResidenceIdentity, DevToolsPageResidenceIdentity, OwnedProtocolWaitFailure,
OwnedProtocolWaitTask, ParsedCdpCommand, PendingCdpCommandDispatch,
PendingProtocolSchedulerWork, PendingRuntimeProtocolMessageDispatch, ProtocolOwnerClosed,
ProtocolStateHandle, ProtocolStateOwner, ProtocolWorkflowState, RendererOutputDependencies,
WebDriverNodeReference, spawn_owned_protocol_wait,
};
pub use conn::{
AutomationCommandTaskStep, CompletedAutomationCommandDispatch, PendingAutomationCommandDispatch,
};
pub use domains::activity::{
ProtocolNavigationDependency, ProtocolSchedulerWork, ProtocolSchedulerWorkKind,
ProtocolWorkPublishSequence, RendererFencedProtocolOutput,
RuntimeCommandOutputBarrierCompletion, RuntimeCommandOutputBarrierPermit,
RuntimeCommandOutputBarrierTerminal, RuntimeCommandOutputBarriers,
};
pub use domains::page::{
BackgroundNavigationCompletion, CompletedPageScreencastCapture,
PageScreencastCaptureCompletion, PageScreencastCaptureStart, PageScreencastRegistration,
PageScreencastSubscriptionStatus, PendingPageScreencastCapture,
};
#[cfg(feature = "ace-protocol")]
pub use conn::ace_page_task;