| WebElement クラス |
名前空間: Selenium
Dim instance As WebElement
WebElement には次のメンバーが定義されています。
| 名前 | 説明 | |
|---|---|---|
| AsSelect |
WebElement を Select 要素として扱います。
| |
| AsTable |
WebElement を Select 要素として扱います。
| |
| Attribute |
Gets the attribute value.
| |
| Clear |
Clears the text if it’s a text entry element.
| |
| Click |
Clicks the element.
| |
| ClickAndHold |
Clicks the element and hold.
| |
| ClickByOffset |
Clicks at the element offset.
| |
| ClickContext |
Rigth clicks the element
| |
| ClickDouble |
Double clicks the element.
| |
| CssValue |
Returns the value of a CSS property
| |
| DragAndDropToOffset |
Drag and drop the element to an offset
| |
| DragAndDropToWebElement |
Drag and drop the element to another element
| |
| Equals(Object) |
指定したインスタンスが等しいとみなされるかを判定します。
(Overrides ObjectEquals(Object).) | |
| Equals(WebElement) |
Compares if two web elements are equal
| |
| ExecuteAsyncScript |
Execute an asynchronous piece of JavaScript in the context of the current element
| |
| ExecuteScript |
Executes a piece of JavaScript in the context of the current element.
| |
| FindElement |
指定した方法で最初の WebElement を検索します。
(継承元: SearchContext) | |
| FindElementBy |
指定した方法と値に合致する最初の子要素を検索します。
(継承元: SearchContext) | |
| FindElementByClass |
指定した CSS クラスに合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementByCss |
指定した CSS セレクターに合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementById |
指定した id に合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementByLinkText |
指定したリンクテキストに合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementByName |
指定した name に合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementByPartialLinkText |
指定したリンクテキストの部分一致に合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementByTag |
指定したタグ名に合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementByXPath |
指定した XPath に合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElements |
現在のコンテキストから、指定した方法ですべての要素を検索します。
(継承元: SearchContext) | |
| FindElementsBy |
指定した方法と値に合致するすべての子要素を検索します。
(継承元: SearchContext) | |
| FindElementsByClass |
指定した CSS クラスに合致する要素を検索します。
(継承元: SearchContext) | |
| FindElementsByCss |
指定した CSS セレクターに合致する要素を検索します。
(継承元: SearchContext) | |
| FindElementsById |
指定した id に合致する要素を検索します。
(継承元: SearchContext) | |
| FindElementsByLinkText |
指定したリンクテキストに合致する要素を検索します。
(継承元: SearchContext) | |
| FindElementsByName |
指定した name に合致する要素を検索します。
(継承元: SearchContext) | |
| FindElementsByPartialLinkText |
指定したリンクテキストの部分一致に合致する最初の要素を検索します。
(継承元: SearchContext) | |
| FindElementsByTag |
指定したタグ名に合致する要素を検索します。
(継承元: SearchContext) | |
| FindElementsByXPath |
指定した XPath に合致する要素を検索します。
(継承元: SearchContext) | |
| GetHashCode |
ハッシュコードを返します。 for this element
(Overrides ObjectGetHashCode.) | |
| HoldKeys |
Press a key and hold
| |
| IsElementPresent |
指定した要素がページ上のどこかに存在することを検証します。
(継承元: SearchContext) | |
| Location |
Returns the location of the element in the renderable canvas
| |
| LocationInView |
Gets the location of an element relative to the origin of the view port.
| |
| ReleaseKeys |
Release a key
| |
| ReleaseMouse |
Release a click
| |
| ScrollIntoView |
Scrolls the current element into the visible area of the browser window.
| |
| SendKeys |
Simulates typing into the element.
| |
| SerializeJson | ||
| Size |
要素のサイズを返します。
| |
| Submit |
Submits a form.
| |
| TakeScreenshot |
Gets the screenshot of the current element
| |
| Text |
Gets the text of the element.
| |
| TextAsNumber |
Return a number parsed from the text
| |
| TextMatch |
入力文字列から、pattern で指定した正規表現に一致する箇所を検索します。
| |
| TextMatches |
正規表現に一致するすべての出現を返します。
| |
| UntilT |
デリゲートが null 以外または True を返すまで待機します。
| |
| Value |
Returns the value attribute
| |
| WaitAttribute |
Waits for an attribute
| |
| WaitCssValue |
Waits for a CSS property
| |
| WaitDisplayed |
Waits for the element to be displayed.
| |
| WaitEnabled |
Waits for the element to be enabled.
| |
| WaitForScript |
Waits for a script to return true or not null.
| |
| WaitNotAttribute |
Waits for a different attribute
| |
| WaitNotCssValue |
Waits for a different CSS property
| |
| WaitNotElement |
要素が存在しなくなるまで待機します。
(継承元: SearchContext) | |
| WaitNotText |
Waits for a different text
| |
| WaitRemoval |
Wait for the web element to be removed from the DOM.
| |
| WaitSelection |
Waits for the element to be selected or not.
| |
| WaitText |
Waits for text
|
| 名前 | 説明 | |
|---|---|---|
| IsDisplayed |
Whether the element would be visible to a user
| |
| IsEnabled |
Whether the element is enabled.
| |
| IsPresent |
Whether the element is present
| |
| IsSelected |
Whether the element is selected.
| |
| Rect |
要素のサイズを返します。
| |
| TagName |
Gets this element’s tagName property.
|