Class Utils



public class Utils
extends Object

UFT Developer for Selenium utilities.

Constructor Summary


Constructor and Description

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


public Utils()

Method Detail