Package oit.pagesource
Class GetPageSource
java.lang.Object
oit.pagesource.GetPageSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.openqa.selenium.WebDriverorg.openqa.selenium.WebElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintinnerHTMLForElement(String xpath) innerTextForElement(String xpath) intlistsInsideULTag(org.openqa.selenium.By locator, org.openqa.selenium.By tagName) replaceStringValue(String string, String target, String replacement) selectedItemFromList(org.openqa.selenium.By locator) textInsideTag(String locator) textInsideULLists(String xpathOfULTag) valueForAttribute(String xpath, String attributeName)
-
Field Details
-
driver
public static org.openqa.selenium.WebDriver driver -
element
public org.openqa.selenium.WebElement element -
textWanted
-
valueOfAttribute
-
-
Constructor Details
-
GetPageSource
public GetPageSource(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
innerHTMLForElement
-
innerTextForElement
-
valueForAttribute
-
listsInsideULTag
public int listsInsideULTag(org.openqa.selenium.By locator, org.openqa.selenium.By tagName) -
textInsideTag
-
textInsideULLists
-
elementSize
-
selectedItemFromList
-
replaceStringValue
-