public class ElementObject extends Object
| Modifier and Type | Field and Description |
|---|---|
org.openqa.selenium.By |
by |
String |
locator |
Element.LocatorType |
locatorType |
String |
name |
| Constructor and Description |
|---|
ElementObject(org.openqa.selenium.By by,
String name)
gets by value for elements
|
ElementObject(org.openqa.selenium.By by,
String name,
String locator,
Element.LocatorType locatorType)
gets by value for elements
|
| Modifier and Type | Method and Description |
|---|---|
ElementObject |
withBy(org.openqa.selenium.By by) |
ElementObject |
withName(String name) |
public org.openqa.selenium.By by
public String name
public String locator
public Element.LocatorType locatorType
public ElementObject(org.openqa.selenium.By by,
String name)
by - name - public ElementObject(org.openqa.selenium.By by,
String name,
String locator,
Element.LocatorType locatorType)
by - name - public ElementObject withBy(org.openqa.selenium.By by)
public ElementObject withName(String name)
Copyright © 2022. All rights reserved.