Share this page

# UFT Developer for Selenium SDK (Java) Reference

UFT Developer for Selenium is a solution that extends the Selenium API, increasing productivity and enabling you to create Selenium tests that are more robust and more maintainable.

This reference describes the classes provided by the Java com.hpe.leanft.selenium package and provides UFT Developer for Selenium Java code samples.

Use this SDK to create more robust or generic identifications for your objects, and use built-in utilities rather than writing them yourself from scratch.

For details about working with UFT Developer for Selenium, see UFT Developer for Selenium.

This SDK includes one package: com.hpe.leanft.selenium

## Package com.hpe.leanft.selenium

Class Summary

Class | Description
--- | ---
By | Contains all UFT Developer for Selenium By methods for locating elements.
By.ByAttributes | A locator that locates elements by the provided attributes (strings or regular expressions).
By.ByRegClassName | A locator that locates elements by the provided regular expression class name parameter.
By.ByRegId | A locator that locates elements by the provided regular expression ID parameter.
By.ByRegLinkText | A locator that locates elements by the provided regular expression link text parameter.
By.ByRegName | A locator that locates elements by the provided regular expression name parameter.
By.ByRegRole | A locator that locates elements by the provided regular expression role parameter.
By.ByRegTagName | A locator that locates elements by the provided regular expression tag name parameter.
By.ByRegText | A locator that locates elements by the provided regular expression visible text parameter.
By.ByRegType | A locator that locates elements by the provided regular expression type parameter.
By.ByStyles | A locator that locates elements by the provided styles (string or regular expressions).
By.ByText | A locator that locates elements by the provided visible text.
By.ByVisible | A locator that locates elements that are either visible or not, depending on the parameter passed.
ByAny | A locator that locates elements according to any of the given locators (attributes, tags, styles etc.).
ByEach | A locator that locates elements according to one or more locators (attributes, tags, styles etc.).
Utils | UFT Developer for Selenium utilities.

Enum Summary

Enum | Description
--- | ---
By.FLAGS | Regular expression flags.

Tips to improve your search results... UFT Developer for Selenium SDK (Java) Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: