Struct webdriver_client::FrameContext
[−]
[src]
pub struct FrameContext<'a> { /* fields omitted */ }
Switch the context of the current session to the given frame reference.
This structure implements Drop, and restores the session context to the current top level window.
Methods
impl<'a> FrameContext<'a>
[src]
pub fn new(
session: &'a DriverSession,
frameref: JsonValue
) -> Result<FrameContext<'a>, Error>
[src]
session: &'a DriverSession,
frameref: JsonValue
) -> Result<FrameContext<'a>, Error>