pub struct Dom<T: HttpTransport> { /* private fields */ }Expand description
HTML ドキュメントを操作するための構造体
Implementations§
Source§impl<T: HttpTransport> Dom<T>
impl<T: HttpTransport> Dom<T>
ボタンを取得
Sourcepub fn inner_html(&self, locator: &str) -> Result<String>
pub fn inner_html(&self, locator: &str) -> Result<String>
要素の内部HTMLを取得
Sourcepub fn contains_text(&self, text: &str) -> bool
pub fn contains_text(&self, text: &str) -> bool
指定されたテキストを含む要素が存在するかチェック
Sourcepub fn select_element(&self, locator: &str) -> Result<SelectElement>
pub fn select_element(&self, locator: &str) -> Result<SelectElement>
select 要素を取得
Auto Trait Implementations§
impl<T> Freeze for Dom<T>
impl<T> RefUnwindSafe for Dom<T>where
T: RefUnwindSafe,
impl<T> Send for Dom<T>
impl<T> Sync for Dom<T>
impl<T> Unpin for Dom<T>
impl<T> UnwindSafe for Dom<T>where
T: RefUnwindSafe,
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