...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
// Available variables // ALogger logger, aspire logger, for debug purposes // WebDriver driver, selenium driver instance, can manipulate the page at will def element = null; try { element = driver.findElement(By.className("user-profile")); } catch (NoSuchElementException nsee) { logger.warn(nsee, "Missing field on session validation"); } return element != null; // If the element doesn't exist on the page, the user is not logged in anymore |
...
Info |
---|
No available troubleshooting at this moment |
...
bgColor | #fff |
---|