Struct playwright::api::playwright::Playwright [−][src]
Entry point
Implementations
impl Playwright[src]
pub async fn initialize() -> Result<Playwright, Error>[src]
Installs playwright driver to “$CACHE_DIR/.ms-playwright/playwright-rust/driver”
pub async fn with_driver(driver: Driver) -> Result<Playwright, Error>[src]
Constructs from installed playwright driver
pub fn prepare(&self) -> Result<()>[src]
Runs $ playwright install
pub fn chromium(&self) -> BrowserType[src]
Launcher
pub fn firefox(&self) -> BrowserType[src]
Launcher
pub fn webkit(&self) -> BrowserType[src]
Launcher
pub fn driver(&mut self) -> &mut Driver[src]
pub fn selectors(&self) -> Selectors[src]
pub fn devices(&self) -> Vec<DeviceDescriptor>[src]
Auto Trait Implementations
impl !RefUnwindSafe for Playwright
impl Send for Playwright
impl Sync for Playwright
impl Unpin for Playwright
impl !UnwindSafe for Playwright
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,