Class Utils

java.lang.Object

    com.hpe.leanft.selenium.Utils



public class Utils
extends Object

LeanFT for Selenium utilities.

Constructor Summary

Constructors

Constructor and Description
Utils() 

Method Summary

All Methods

Modifier and Type Method and Description
static RenderedImage getSnapshot(org.openqa.selenium.WebElement element)
Returns a snapshot (image) of the selenium element as a Base64 string.
static void highlight(org.openqa.selenium.WebElement element)
Highlights the selenium element in the browser.
static void highlight(org.openqa.selenium.WebElement element, long t)
Highlights the selenium elements in the browser for t milliseconds.
static void scrollIntoView(org.openqa.selenium.WebElement element)
Scrolls the page to make the web element visible.

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Utils

public Utils()

Method Detail