public class

WebPageLocator

extends AbstractLocator
implements Locator
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.locator.AbstractLocator
     ↳ com.atlassian.jira.functest.framework.locator.WebPageLocator

Class Overview

This locator returns the whole of the web page as text.

NOTE : Locators are one shot objects. A call to getNodes() should return the same Nodes every time it is called. Even if the underlying data source has changed (for example the WebTester page has changed) the Locator MUST return the same data.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.locator.AbstractLocator
Public Constructors
WebPageLocator(WebTester tester)
Public Methods
String getHTML()
All of HTML of the web page
Node[] getNodes()
Returns the single top level Document element
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.locator.AbstractLocator
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.locator.Locator

Public Constructors

public WebPageLocator (WebTester tester)

Public Methods

public String getHTML ()

All of HTML of the web page

Returns
  • the HTML of the web page

public Node[] getNodes ()

Returns the single top level Document element

Returns
  • the single top level Document element

public String toString ()