SearchContextIsElementPresent メソッド
指定した要素がページ上のどこかに存在することを検証します。

名前空間: Selenium
アセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文
VB 使用例
Dim instance As SearchContext
Dim by As By
Dim timeout As Integer
Dim returnValue As Boolean

returnValue = instance.IsElementPresent(by, 
	timeout)

パラメータ

by
型: SeleniumBy
An element loctor. string or By object
timeout(省略可)
型: SystemInt32
省略可。タイムアウト(ミリ秒)。

戻り値

型: Boolean
true if the element is present, false otherwise
参照