pub struct UiBrowserTerminalRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub text: Option<String>,
pub enter: Option<bool>,
pub keys: Option<Vec<String>>,
pub until_text: Option<String>,
pub timeout_seconds: Option<u64>,
pub reason: Option<String>,
}Expand description
POST /api/v1/ui/browser/terminal — backs Browser’s terminal action
(SPEC_BROWSER_WEB_TERMINAL_TYPING_2026_10_23.md §4.2): type and run commands
in a web terminal on a site the person granted.
Fields§
§auth: UiAutomationAuth§pane: Option<String>§text: Option<String>Text to type. Each line break is a real Enter press.
enter: Option<bool>Press Enter after text (default true).
keys: Option<Vec<String>>Named keys to press after the text: Enter, Tab, Ctrl+C and the rest.
until_text: Option<String>Wait until the terminal shows this text.
timeout_seconds: Option<u64>How long to wait for output, in seconds (default 5, at most 60).
reason: Option<String>Trait Implementations§
Source§impl Clone for UiBrowserTerminalRequest
impl Clone for UiBrowserTerminalRequest
Source§fn clone(&self) -> UiBrowserTerminalRequest
fn clone(&self) -> UiBrowserTerminalRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiBrowserTerminalRequest
impl Debug for UiBrowserTerminalRequest
Source§impl<'de> Deserialize<'de> for UiBrowserTerminalRequest
impl<'de> Deserialize<'de> for UiBrowserTerminalRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UiBrowserTerminalRequest
impl RefUnwindSafe for UiBrowserTerminalRequest
impl Send for UiBrowserTerminalRequest
impl Sync for UiBrowserTerminalRequest
impl Unpin for UiBrowserTerminalRequest
impl UnsafeUnpin for UiBrowserTerminalRequest
impl UnwindSafe for UiBrowserTerminalRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more