pub struct UiBrowserLocateRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub x: f64,
pub y: f64,
pub image_width: Option<f64>,
}Expand description
POST /api/v1/ui/browser/locate — backs Browser’s locate and click_at: what a click at a point of
a screenshot would land on, as a reference (forms-in-frames spec §4.6).
Fields§
§auth: UiAutomationAuth§pane: Option<String>Target a browser pane this agent opened with OpenBrowser; absent =
the caller’s own pane.
x: f64The point, in pixels of the screenshot, from its top left corner.
y: f64§image_width: Option<f64>The screenshot’s width in pixels, which the host turns into the page’s scale (absent: the point is already in the page’s own pixels).
Trait Implementations§
Source§impl Clone for UiBrowserLocateRequest
impl Clone for UiBrowserLocateRequest
Source§fn clone(&self) -> UiBrowserLocateRequest
fn clone(&self) -> UiBrowserLocateRequest
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 UiBrowserLocateRequest
impl Debug for UiBrowserLocateRequest
Source§impl<'de> Deserialize<'de> for UiBrowserLocateRequest
impl<'de> Deserialize<'de> for UiBrowserLocateRequest
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 UiBrowserLocateRequest
impl RefUnwindSafe for UiBrowserLocateRequest
impl Send for UiBrowserLocateRequest
impl Sync for UiBrowserLocateRequest
impl Unpin for UiBrowserLocateRequest
impl UnsafeUnpin for UiBrowserLocateRequest
impl UnwindSafe for UiBrowserLocateRequest
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