AccessibilityAuditContext | Class | Provides rules with access to the full tree and the page during an audit. |
AccessibilityAuditResult | Class | The outcome of an accessibility audit over a page's accessibility tree. |
AccessibilityMode | Enum | Controls how the accessibility audit hook handles violations. |
AccessibilityNode | Class | Represents a single node in the browser's accessibility tree. |
AccessibilityOptions | Class | Configuration for the built-in accessibility audit hook. |
AccessibilitySnapshot | Class | The result of fetching a page's accessibility tree. Carries the root nodes (each with its children, forming the full tree), the number of nodes the browser excluded as not accessibility-relevant, and an optional diagnostic message when a snapshot could not be produced (for example on a transport that does not expose an accessibility tree). |
AccessibilityViolation | Class | Describes a single accessibility rule violation found during an audit. |
AccessibilityViolationSeverity | Enum | Classifies the severity of an accessibility rule violation. |
ActionResult | Class | Represents the outcome of a browser action performed by the automation engine. |
ActionTimeoutException | Class | Thrown when an actionability check (visible, enabled, stable, etc.) times out before the element reaches the required state. |
AmbiguousSelectorException | Class | Thrown when a selector matches more elements than expected for strict mode. |
AssertionOptions | Class | Options for assertions on pages, locators, and other objects. |
BoundingBox | Class | Represents the bounding box of an element in CSS pixels. |
BrowserChannel | Enum | Specifies the browser distribution channel to use when launching. |
BrowserFailure | Class | Tells failures caused by the browser going away from failures the test found. |
BrowserPoolOptions | Class | Configuration for a browser pool. |
ClipRect | Class | Specifies the clipping region for a screenshot. |
ColorScheme | Enum | Specifies the preferred color scheme for the browser context. |
ComputedStyleInfo | Class | Pre-fetched computed style properties for an element, used by accessibility rules that need CSS information (e.g., color contrast checks). |
ConnectOptions | Class | Options for connecting to a browser that is already running. |
ConsoleMessageEventArgs | Class | Event arguments for console messages emitted by the page. |
ContextOptions | Class | Options for creating a new browser context. |
Cookie | Class | Represents a browser cookie. |
CoverageData | Class | A snapshot of JavaScript and CSS code coverage data collected during a page session. |
CoverageOptions | Class | Configuration for the built-in code coverage collector hook. |
CoverageRange | Class | A contiguous byte-offset range within a script source with an associated execution count. |
CoverageSummary | Class | Aggregated summary across all scripts and stylesheets in a coverage snapshot. |
CssRuleUsage | Class | CSS rule usage entry within a stylesheet source. |
DialogEventArgs | Class | Event arguments for JavaScript dialog events. |
DialogType | Enum | Specifies the type of JavaScript dialog. |
ElementNotFoundException | Class | Thrown when no element matches the given selector. |
ElementState | Enum | Specifies the expected state of an element when waiting. |
EvaluateOptions | Class | Options for evaluating JavaScript. |
ExecutionWorld | Enum | Specifies which JavaScript world an expression is evaluated in. |
FileCoverageStats | Class | Per-file coverage statistics. |
FilePayload | Class | Represents a file to be uploaded via a file chooser. |
Geolocation | Class | Represents a geographic location. |
HttpCredentials | Class | Credentials for HTTP authentication. |
IAccessibilityReporter | Interface | Opt-in interface for reporters that want to receive accessibility violation events. Reporters implement both IReporter and IAccessibilityReporter to receive violations alongside normal test lifecycle events. |
IAccessibilityRule | Interface | Evaluates a single accessibility rule against one node in the accessibility tree. |
IBrowser | Interface | Represents a browser instance. A browser can have multiple contexts. |
IBrowserContext | Interface | Represents an isolated browser context with its own cookies, cache, and storage. |
IBrowserLease | Interface | A leased browser instance. Disposing the lease returns the browser to the pool. |
IBrowserPool | Interface | Manages a pool of browser instances for concurrent test execution. |
ICoverageReporter | Interface | Opt-in reporter interface for receiving JavaScript and CSS code coverage data collected during test execution. Reporters implement both IReporter and ICoverageReporter to receive coverage events. Separate from IReporter to avoid default interface methods, which conflict with NativeAOT trimming. |
IDialog | Interface | Represents a JavaScript dialog (alert, confirm, prompt, or beforeunload). |
IDownload | Interface | Represents a file download initiated by a page. |
IElementHandle | Interface | Represents a handle to a DOM element in the page. Prefer ILocator for most use cases. |
IFileChooser | Interface | Represents a file chooser dialog opened by the page. |
IFrame | Interface | Represents a frame within a page (including the main frame). |
IHeaderCollection | Interface | Represents a read-only collection of HTTP headers. |
IJSHandle | Interface | Represents a handle to a JavaScript object in the page. |
IKeyboard | Interface | Provides methods for keyboard input. |
ILifecycleHook | Interface | Hooks into the browser automation lifecycle for cross-cutting concerns (logging, performance measurement, automatic retries). |
ILocator | Interface | Represents a way to find elements on a page. Locators are strict by default and will throw if multiple elements match. |
IMotusLogger | Interface | Simple logging interface for Motus plugins. Keeps the abstractions package dependency-free. |
IMouse | Interface | Provides methods for mouse input. |
IPage | Interface | Represents a single browser page (tab). Provides methods for navigation, interaction, evaluation, and more. |
IPerformanceReporter | Interface | Opt-in reporter interface for receiving performance metrics collected during test execution. Reporters implement both IReporter and IPerformanceReporter to receive performance events. Separate from IReporter to avoid default interface methods, which conflict with NativeAOT trimming. |
IPlugin | Interface | Base interface for all Motus plugins. |
IPluginContext | Interface | Provides services to plugins during initialization for registering custom extensions. |
IReporter | Interface | Captures and reports test execution results. Multiple reporters can be active simultaneously. |
IRequest | Interface | Represents an HTTP request sent by the page. |
IResponse | Interface | Represents an HTTP response received by the page. |
IRoute | Interface | Represents an intercepted network route that can be fulfilled, continued, or aborted. |
ISelectorStrategy | Interface | Defines a custom element-targeting strategy beyond the built-in CSS, XPath, and text selectors. |
ITouchscreen | Interface | Provides methods for touchscreen input. |
ITracing | Interface | Provides tracing capabilities for recording browser actions. |
IVideo | Interface | Represents a video recording of page actions. |
IWaitCondition | Interface | Defines a custom wait condition that can be used with the WaitForAsync API. |
KeyboardPressOptions | Class | Options for keyboard press operations. |
KeyboardTypeOptions | Class | Options for keyboard type operations. |
KeyModifier | Enum | Modifier keys that can be held during keyboard and mouse actions. |
LaunchOptions | Class | Options for launching a browser instance. |
LayoutShiftEntry | Class | An individual layout shift entry observed during page execution. |
LoadState | Enum | Specifies the page load state to wait for. |
LocatorOptions | Class | Options for creating a locator. |
MotusAssertionException | Class | Thrown when a test assertion made through the Motus assertion API fails. |
MotusException | Class | Base exception for all Motus engine errors. Provides an optional screenshot captured at the time of failure for diagnostics. |
MotusNavigationException | Class | Thrown when a page navigation fails with an error (e.g. DNS resolution failure). |
MotusPluginAttribute | Class | Marks a class as a Motus plugin entry point. The Motus source generator scans for this attribute to produce plugin registration code at compile time. |
MotusProtocolException | Class | Thrown when the CDP protocol layer returns an error or fails to communicate. |
MotusSelectorException | Class | Base exception for selector-related errors. |
MotusTargetClosedException | Class | Thrown when the browser target (page, frame, worker) has been closed or destroyed. |
MotusTimeoutException | Class | Thrown when an operation exceeds its configured timeout. |
MouseButton | Enum | Specifies which mouse button to use for mouse actions. |
MouseButtonOptions | Class | Options for mouse button operations. |
MouseMoveOptions | Class | Options for mouse move operations. |
NavigationOptions | Class | Options for page navigation operations. |
NavigationTimeoutException | Class | Thrown when a page navigation exceeds its timeout. |
OriginalFileCoverage | Class | Coverage attributed to an original (pre-bundle) source file resolved through a JavaScript/CSS source map. Populated when a generated asset references a parseable source map; otherwise the asset's coverage is reported only via ScriptCoverage / StylesheetCoverage. |
OriginStorage | Class | Represents local storage entries for a specific origin. |
PageErrorEventArgs | Class | Event arguments for uncaught exceptions in the page. |
PerformanceBudget | Class | Defines performance budget thresholds. Only non-null metrics are enforced. |
PerformanceBudgetAttribute | Class | Declares performance budget thresholds for a test method or class. Only specified metrics (values >= 0) are enforced. Method-level attributes override class-level attributes. |
PerformanceBudgetEntry | Class | A single metric evaluation within a performance budget check. |
PerformanceBudgetResult | Class | The result of evaluating a PerformanceBudget against collected metrics. |
PerformanceMetrics | Class | Core Web Vitals and supplementary performance metrics collected during test execution. |
PerformanceOptions | Class | Configuration for the built-in performance metrics collector hook. |
PluginDiscovery | Class | Bridge for source-generated plugin registration. Do not call directly. |
ProxySettings | Class | Proxy server configuration. |
QuarantineAttribute | Class | Marks a test (or every test in a class) as quarantined. A quarantined test still runs, but its failures do not fail the run: it is reported in a separate bucket and excluded from the exit code. Use this to keep a known-flaky test running and visible while it is being stabilized, instead of deleting or skipping it. |
RecordVideoOptions | Class | Options for recording video of page actions. |
RequestEventArgs | Class | Event arguments for network request events. |
ResponseEventArgs | Class | Event arguments for network response events. |
RouteContinueOptions | Class | Options for continuing an intercepted route with modifications. |
RouteFulfillOptions | Class | Options for fulfilling a route with a custom response. |
SameSiteAttribute | Enum | Specifies the SameSite attribute for cookies. |
ScreenshotOptions | Class | Options for taking a screenshot. |
ScreenshotType | Enum | Specifies the image format for screenshots. |
ScriptCoverage | Class | JavaScript coverage data for a single script URL, aggregated across all sessions. |
StorageState | Class | Represents the complete storage state of a browser context including cookies and local storage. |
StylesheetCoverage | Class | CSS coverage data for a single stylesheet URL, aggregated across all sessions. Note: Source is included beyond the spec because line-level computation requires the source text. |
TestInfo | Class | Metadata for an individual test, passed to the reporter when a test begins. |
TestResult | Class | The outcome of an individual test, passed to the reporter when a test ends. |
TestRunSummary | Class | Aggregate results for a completed test run, passed to the reporter at the end of a run. |
TestSuiteInfo | Class | Metadata for a test suite run, passed to the reporter when a run begins. |
TracingStartOptions | Class | Options for starting a trace. |
TracingStopOptions | Class | Options for stopping a trace. |
ViewportSize | Class | Represents the viewport dimensions. |
WaitConditionOptions | Class | Options that control how a wait condition is evaluated. |
WaitTimeoutException | Class | Thrown when a wait condition (WaitForAsync, WaitForCondition, WaitForURL) exceeds its timeout. |
WaitUntil | Enum | Specifies when a navigation is considered complete. |