static private IsAvailable ( IWebElement el ) : bool | ||
el | IWebElement | |
리턴 | bool |
internal static bool IsAvailable(IWebElement el)
{
try
{
return el.Displayed;
}
catch (StaleElementReferenceException)
{
Logger.WriteLine("Warning: Stale element is caught");
return false;
}
}