Package core.uiCore.webElement
Class ElementObject
java.lang.Object
core.uiCore.webElement.ElementObject
public class ElementObject extends Object
supporting 2 locator strategies: by, by2
- Author:
- CAEHMAT
-
Field Summary
Fields Modifier and Type Field Description org.openqa.selenium.BybyStringlocatorElement.LocatorTypelocatorTypeStringname -
Constructor Summary
Constructors Constructor Description ElementObject(org.openqa.selenium.By by, String name)gets by value for elementsElementObject(org.openqa.selenium.By by, String name, String locator, Element.LocatorType locatorType)gets by value for elements -
Method Summary
Modifier and Type Method Description ElementObjectwithBy(org.openqa.selenium.By by)ElementObjectwithName(String name)
-
Field Details
-
by
public org.openqa.selenium.By by -
name
-
locator
-
locatorType
-
-
Constructor Details
-
ElementObject
gets by value for elements- Parameters:
by-name-
-
ElementObject
public ElementObject(org.openqa.selenium.By by, String name, String locator, Element.LocatorType locatorType)gets by value for elements- Parameters:
by-name-
-
-
Method Details
-
withBy
-
withName
-