LeanFT for Selenium SDK (.NET) Reference

LeanFT 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.

The LeanFT for Selenium SDK (.NET) Reference describes the classes provided by the .NET LeanFTForSelenium assembly and provides LeanFT for Selenium .NET code samples.

By using this SDK you can 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 LeanFT for Selenium, see LeanFT for Selenium.

This SDK includes the LeanFTForSelenium assembly, which contains one namespace: LeanFT.Selenium.

LeanFT.Selenium Namespace

Classes

  Class Description
By
Contains all LeanFT for Selenium By methods for locating elements.
ByAny
A locator that locates elements that match one or more of the specified locators (attributes, tags, styles etc.).
ByEach
A locator that locates elements that match all of the specified locators (attributes, tags, styles etc.).
Utils
LeanFT for Selenium utilities: Utils.GetSnapshot, Utils.Highlight, Utils.ScrollIntoView