Interface IWebPage


public interface IWebPage
TPI for the WebPageImpl object provisioned by the Selenium Manager
  • Method Details

    • close

      void close()
      Close current Window and quit browser if was only Window open
    • clearElementByClassName

      IWebPage clearElementByClassName(String className)
      Clears the Element specified by a Class Name
      Parameters:
      className - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementByClassName

      IWebPage clearElementByClassName(String className, int secondsTimeout)
      Clears the Element specified by a Class Name
      Parameters:
      className - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElementByCssSelector

      IWebPage clearElementByCssSelector(String selector)
      Clears the Element specified by a Css Selector
      Parameters:
      selector - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementByCssSelector

      IWebPage clearElementByCssSelector(String selector, int secondsTimeout)
      Clears the Element specified by a Css Selector
      Parameters:
      selector - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElementById

      IWebPage clearElementById(String id)
      Clears the Element specified by an ID
      Parameters:
      id - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementById

      IWebPage clearElementById(String id, int secondsTimeout)
      Clears the Element specified by an ID
      Parameters:
      id - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElementByLinkText

      IWebPage clearElementByLinkText(String linkText)
      Clears the Element specified by a Link Text
      Parameters:
      linkText - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementByLinkText

      IWebPage clearElementByLinkText(String linkText, int secondsTimeout)
      Clears the Element specified by a Link Text
      Parameters:
      linkText - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElementByName

      IWebPage clearElementByName(String name)
      Clears the Element specified by a Name
      Parameters:
      name - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementByName

      IWebPage clearElementByName(String name, int secondsTimeout)
      Clears the Element specified by a Name
      Parameters:
      name - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElementByPartialLinkText

      IWebPage clearElementByPartialLinkText(String linkText)
      Clears the Element specified by a Partial Link Text
      Parameters:
      linkText - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementByPartialLinkText

      IWebPage clearElementByPartialLinkText(String linkText, int secondsTimeout)
      Clears the Element specified by a Partial Link Text
      Parameters:
      linkText - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElementByTagName

      IWebPage clearElementByTagName(String name)
      Clears the Element specified by a Tag Name
      Parameters:
      name - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementByTagName

      IWebPage clearElementByTagName(String name, int secondsTimeout)
      Clears the Element specified by a Tag Name
      Parameters:
      name - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElementByXpath

      IWebPage clearElementByXpath(String xpathExpression)
      Clears the Element specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElementByXpath

      IWebPage clearElementByXpath(String xpathExpression, int secondsTimeout)
      Clears the Element specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clearElement

      IWebPage clearElement(org.openqa.selenium.By by)
      Clears the Element specified by a By Object
      Parameters:
      by - The Object used to specify the Element
      Returns:
      The WebPage after the Element is cleared
    • clearElement

      IWebPage clearElement(org.openqa.selenium.By by, int secondsTimeout)
      Clears the Element specified by a By Object
      Parameters:
      by - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is cleared
    • clickElementByClassName

      IWebPage clickElementByClassName(String className)
      Clicks the Element specified by a Class Name
      Parameters:
      className - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementByClassName

      IWebPage clickElementByClassName(String className, int secondsTimeout)
      Clicks the Element specified by a Class Name
      Parameters:
      className - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElementByCssSelector

      IWebPage clickElementByCssSelector(String selector)
      Clicks the Element specified by a Css Selector
      Parameters:
      selector - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementByCssSelector

      IWebPage clickElementByCssSelector(String selector, int secondsTimeout)
      Clicks the Element specified by a Css Selector
      Parameters:
      selector - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElementById

      IWebPage clickElementById(String id)
      Clicks the Element specified by an ID
      Parameters:
      id - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementById

      IWebPage clickElementById(String id, int secondsTimeout)
      Clicks the Element specified by an ID
      Parameters:
      id - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElementByLinkText

      IWebPage clickElementByLinkText(String linkText)
      Clicks the Element specified by a Link Text
      Parameters:
      linkText - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementByLinkText

      IWebPage clickElementByLinkText(String linkText, int secondsTimeout)
      Clicks the Element specified by a Link Text
      Parameters:
      linkText - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElementByName

      IWebPage clickElementByName(String name)
      Clicks the Element specified by a Name
      Parameters:
      name - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementByName

      IWebPage clickElementByName(String name, int secondsTimeout)
      Clicks the Element specified by a Name
      Parameters:
      name - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElementByPartialLinkText

      IWebPage clickElementByPartialLinkText(String linkText)
      Clicks the Element specified by a Partial Link Text
      Parameters:
      linkText - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementByPartialLinkText

      IWebPage clickElementByPartialLinkText(String linkText, int secondsTimeout)
      Clicks the Element specified by a Partial Link Text
      Parameters:
      linkText - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElementByTagName

      IWebPage clickElementByTagName(String name)
      Clicks the Element specified by a Tag Name
      Parameters:
      name - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementByTagName

      IWebPage clickElementByTagName(String name, int secondsTimeout)
      Clicks the Element specified by a Tag Name
      Parameters:
      name - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElementByXpath

      IWebPage clickElementByXpath(String xpathExpression)
      Clicks the Element specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElementByXpath

      IWebPage clickElementByXpath(String xpathExpression, int secondsTimeout)
      Clicks the Element specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • clickElement

      IWebPage clickElement(org.openqa.selenium.By by)
      Clicks the Element specified by a By Object
      Parameters:
      by - The Object used to specify the Element
      Returns:
      The WebPage after the Element is clicked
    • clickElement

      IWebPage clickElement(org.openqa.selenium.By by, int secondsTimeout)
      Clicks the Element specified by a By Object
      Parameters:
      by - The Object used to specify the Element
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Element is clicked
    • sendKeysToElementByClassName

      IWebPage sendKeysToElementByClassName(String className, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by a Class Name
      Parameters:
      className - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByClassName

      IWebPage sendKeysToElementByClassName(String className, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by a Class Name
      Parameters:
      className - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByCssSelector

      IWebPage sendKeysToElementByCssSelector(String selector, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by a Css Selector
      Parameters:
      selector - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByCssSelector

      IWebPage sendKeysToElementByCssSelector(String selector, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by a Css Selector
      Parameters:
      selector - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementById

      IWebPage sendKeysToElementById(String id, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by an ID
      Parameters:
      id - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementById

      IWebPage sendKeysToElementById(String id, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by an ID
      Parameters:
      id - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByLinkText

      IWebPage sendKeysToElementByLinkText(String linkText, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by a Link Text
      Parameters:
      linkText - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByLinkText

      IWebPage sendKeysToElementByLinkText(String linkText, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by a Link Text
      Parameters:
      linkText - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByName

      IWebPage sendKeysToElementByName(String name, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by a Name
      Parameters:
      name - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByName

      IWebPage sendKeysToElementByName(String name, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by a Name
      Parameters:
      name - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByPartialLinkText

      IWebPage sendKeysToElementByPartialLinkText(String linkText, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by a Partial Link Text
      Parameters:
      linkText - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByPartialLinkText

      IWebPage sendKeysToElementByPartialLinkText(String linkText, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by a Partial Link Text
      Parameters:
      linkText - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByTagName

      IWebPage sendKeysToElementByTagName(String name, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by a Tag Name
      Parameters:
      name - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByTagName

      IWebPage sendKeysToElementByTagName(String name, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by a Tag Name
      Parameters:
      name - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByXpath

      IWebPage sendKeysToElementByXpath(String xpathExpression, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElementByXpath

      IWebPage sendKeysToElementByXpath(String xpathExpression, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElement

      IWebPage sendKeysToElement(org.openqa.selenium.By by, CharSequence keysToSend)
      Send CharSequence of Keys to an Element specified by a By Object
      Parameters:
      by - The Object used to specify the Element
      keysToSend - The Keys to be sent
      Returns:
      The WebPage after the Keys have been sent
    • sendKeysToElement

      IWebPage sendKeysToElement(org.openqa.selenium.By by, CharSequence keysToSend, int secondsTimeout)
      Send CharSequence of Keys to an Element specified by a By Object
      Parameters:
      by - The Object used to specify the Element
      keysToSend - The Keys to be sent
      secondsTimeout - The wait timeout in seconds
      Returns:
      The WebPage after the Keys have been sent
    • findElementByClassName

      org.openqa.selenium.WebElement findElementByClassName(String className)
      Returns the first WebElement specified by a Class Name
      Parameters:
      className - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsByClassName

      List<org.openqa.selenium.WebElement> findElementsByClassName(String className)
      Returns all WebElements specified by a Class Name
      Parameters:
      className - The Object used to find the elements
      Returns:
      All found WebElements
    • findElementByCssSelector

      org.openqa.selenium.WebElement findElementByCssSelector(String selector)
      Returns the first WebElement specified by a Css Selector
      Parameters:
      selector - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsByCssSelector

      List<org.openqa.selenium.WebElement> findElementsByCssSelector(String selector)
      Returns all WebElements specified by a Css Selector
      Parameters:
      selector - The Object used to find the elements
      Returns:
      All found WebElements
    • findElementById

      org.openqa.selenium.WebElement findElementById(String id)
      Returns the first WebElement specified by an ID
      Parameters:
      id - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsById

      List<org.openqa.selenium.WebElement> findElementsById(String id)
      Returns all WebElements specified by an ID
      Parameters:
      id - The Object used to find the elements
      Returns:
      All found WebElements
    • findElementByLinkText

      org.openqa.selenium.WebElement findElementByLinkText(String linkText)
      Returns the first WebElement specified by a Link Text
      Parameters:
      linkText - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsByLinkText

      List<org.openqa.selenium.WebElement> findElementsByLinkText(String linkText)
      Returns all WebElements specified by a Link Text
      Parameters:
      linkText - The Object used to find the elements
      Returns:
      All found WebElements
    • findElementByName

      org.openqa.selenium.WebElement findElementByName(String name)
      Returns the first WebElement specified by a Name
      Parameters:
      name - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsByName

      List<org.openqa.selenium.WebElement> findElementsByName(String name)
      Returns all WebElements specified by a Name
      Parameters:
      name - The Object used to find the elements
      Returns:
      All found WebElements
    • findElementByPartialLinkText

      org.openqa.selenium.WebElement findElementByPartialLinkText(String linkText)
      Returns the first WebElement specified by a Partial Link Text
      Parameters:
      linkText - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsByPartialLinkText

      List<org.openqa.selenium.WebElement> findElementsByPartialLinkText(String linkText)
      Returns all WebElements specified by a Partial Link Text
      Parameters:
      linkText - The Object used to find the elements
      Returns:
      All found WebElements
    • findElementByTagName

      org.openqa.selenium.WebElement findElementByTagName(String name)
      Returns the first WebElement specified by a Tag Name
      Parameters:
      name - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsByTagName

      List<org.openqa.selenium.WebElement> findElementsByTagName(String name)
      Returns all WebElements specified by a Tag Name
      Parameters:
      name - The Object used to find the elements
      Returns:
      All found WebElements
    • findElementByXpath

      org.openqa.selenium.WebElement findElementByXpath(String xpathExpression)
      Returns the first WebElement specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to find the element
      Returns:
      The first found WebElement
    • findElementsByXpath

      List<org.openqa.selenium.WebElement> findElementsByXpath(String xpathExpression)
      Returns all WebElements specified by an XPath Expression
      Parameters:
      xpathExpression - The Object used to find the elements
      Returns:
      All found WebElements
    • findElement

      org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
      Returns the first WebElement specified by a By Object
      Parameters:
      by - The Object used to find the element
      Returns:
      The first found WebElement
    • findElements

      List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
      Returns all WebElements specified by a By Object
      Parameters:
      by - The Object used to find the elements
      Returns:
      All found WebElements
    • get

      IWebPage get(String url)
      Load WebPage with the given URL in current Browser Window
      Parameters:
      url - The URL of the specified WebPage
    • getCurrentUrl

      String getCurrentUrl()
      Returns the String representation of the URL f the current WebPage
      Returns:
      The String representation of the URL f the current WebPage
    • getPageSource

      String getPageSource()
      Returns the source of the current WebPage
      Returns:
      The source of the current WebPage
    • getTitle

      String getTitle()
      Returns the Title of the current WebPage
      Returns:
      The Title of the current WebPage
    • getWindowHandle

      String getWindowHandle()
      Return an opaque handle to this window that uniquely identifies it within this driver instance
      Returns:
      An opaque handle to this window that uniquely identifies it within this driver instance
    • getWindowHandles

      Set<String> getWindowHandles()
      Return a set of window handles which can be used to iterate over all open windows of this WebDriver instance by passing them to switchTo().WebDriver.Options.window()
      Returns:
      A set of window handles which can be used to iterate over all open windows of this WebDriver instance by passing them to switchTo().WebDriver.Options.window()
    • manage

      org.openqa.selenium.WebDriver.Options manage()
      Returns the Options interface for the WebPage
      Returns:
      The Options interface for the WebPage
    • quit

      void quit()
      Quit the Driver, closes all associated Windows
    • switchTo

      org.openqa.selenium.WebDriver.TargetLocator switchTo()
      Send future commands to a different frame
      Returns:
      The TargetLocator for this WebPage
    • switchToFrameByClassName

      IWebPage switchToFrameByClassName(String className)
      Send future commands to the frame specified by Class Name
      Parameters:
      className - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrameByCssSelector

      IWebPage switchToFrameByCssSelector(String selector)
      Send future commands to the frame specified by Css Selector
      Parameters:
      selector - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrameById

      IWebPage switchToFrameById(String id)
      Send future commands to the frame specified by ID
      Parameters:
      id - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrameByLinkText

      IWebPage switchToFrameByLinkText(String linkText)
      Send future commands to the frame specified by Link Text
      Parameters:
      linkText - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrameByName

      IWebPage switchToFrameByName(String name)
      Send future commands to the frame specified by Name
      Parameters:
      name - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrameByPartialLinkText

      IWebPage switchToFrameByPartialLinkText(String linkText)
      Send future commands to the frame specified by Partial Link Text
      Parameters:
      linkText - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrameByTagName

      IWebPage switchToFrameByTagName(String name)
      Send future commands to the frame specified by Tag Name
      Parameters:
      name - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrameByXpath

      IWebPage switchToFrameByXpath(String xpathExpression)
      Send future commands to the frame specified by XPath Expression
      Parameters:
      xpathExpression - The element used to identify the frame
      Returns:
      The switched WebPage
    • switchToFrame

      IWebPage switchToFrame(org.openqa.selenium.By by)
      Send future commands to the frame specified by By Object
      Parameters:
      by - The element used to identify the frame
      Returns:
      The switched WebPage
    • waitForElementByClassName

      org.openqa.selenium.WebElement waitForElementByClassName(String className)
      Waits for an Object with specified Class Name
      Parameters:
      className - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementByClassName

      org.openqa.selenium.WebElement waitForElementByClassName(String className, int secondsTimeout)
      Waits for an Object with specified Class Name with timeout
      Parameters:
      className - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElementByCssSelector

      org.openqa.selenium.WebElement waitForElementByCssSelector(String selector)
      Waits for an Object with specified Css Selector
      Parameters:
      selector - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementByCssSelector

      org.openqa.selenium.WebElement waitForElementByCssSelector(String selector, int secondsTimeout)
      Waits for an Object with specified Css Selector with timeout
      Parameters:
      selector - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElementById

      org.openqa.selenium.WebElement waitForElementById(String id)
      Waits for an Object with specified ID
      Parameters:
      id - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementById

      org.openqa.selenium.WebElement waitForElementById(String id, int secondsTimeout)
      Waits for an Object with specified ID with timeout
      Parameters:
      id - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElementByLinkText

      org.openqa.selenium.WebElement waitForElementByLinkText(String linkText)
      Waits for an Object with specified Link Text
      Parameters:
      linkText - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementByLinkText

      org.openqa.selenium.WebElement waitForElementByLinkText(String linkText, int secondsTimeout)
      Waits for an Object with specified Link Text with timeout
      Parameters:
      linkText - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElementByName

      org.openqa.selenium.WebElement waitForElementByName(String name)
      Waits for an Object with specified Name
      Parameters:
      name - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementByName

      org.openqa.selenium.WebElement waitForElementByName(String name, int secondsTimeout)
      Waits for an Object with specified Name with timeout
      Parameters:
      name - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElementByPartialLinkText

      org.openqa.selenium.WebElement waitForElementByPartialLinkText(String linkText)
      Waits for an Object with specified Partial Link Text
      Parameters:
      linkText - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementByPartialLinkText

      org.openqa.selenium.WebElement waitForElementByPartialLinkText(String linkText, int secondsTimeout)
      Waits for an Object with specified Partial Link Text with timeout
      Parameters:
      linkText - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElementByTagName

      org.openqa.selenium.WebElement waitForElementByTagName(String tagName)
      Waits for an Object with specified Tag Name
      Parameters:
      tagName - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementByTagName

      org.openqa.selenium.WebElement waitForElementByTagName(String tagName, int secondsTimeout)
      Waits for an Object with specified Tag Name with timeout
      Parameters:
      tagName - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElementByXpath

      org.openqa.selenium.WebElement waitForElementByXpath(String xpathExpression)
      Waits for an Object with specified XPath expression
      Parameters:
      xpathExpression - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElementByXpath

      org.openqa.selenium.WebElement waitForElementByXpath(String xpathExpression, int secondsTimeout)
      Waits for an Object with specified XPath expression with timeout
      Parameters:
      xpathExpression - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • waitForElement

      org.openqa.selenium.WebElement waitForElement(org.openqa.selenium.By by)
      Waits for a specified By object
      Parameters:
      by - The specified Object
      Returns:
      The WebElement specified after the wait
    • waitForElement

      org.openqa.selenium.WebElement waitForElement(org.openqa.selenium.By by, int secondsTimeout)
      Waits for a specified By object with timeout
      Parameters:
      by - The specified Object
      secondsTimeout - The Timeout
      Returns:
      The WebElement specified after the wait
    • driverWait

      org.openqa.selenium.support.ui.WebDriverWait driverWait()
      Return a WebDriverWait with a default timeout
      Returns:
      A WebDriverWait with a default timeout
    • driverWait

      org.openqa.selenium.support.ui.WebDriverWait driverWait(int secondsTimeout)
      Return a WebDriverWait with a given timeout
      Parameters:
      secondsTimeout -
      Returns:
      A WebDriverWait with a given timeout
    • getWebDriver

      org.openqa.selenium.WebDriver getWebDriver()
      Returns the WebDriver associated with this WebPage
      Returns:
      The WebDriver associated with this WebPage
    • maximize

      IWebPage maximize()
      Maximizes the WebPage
    • waitForPageLoad

      IWebPage waitForPageLoad()
      Waits for the page to fully load with the default timeout
    • waitForPageLoad

      IWebPage waitForPageLoad(int secondsTimeout)
      Waits for the page to fully load with the given timeout
    • takeScreenShot

      IWebPage takeScreenShot() throws SeleniumManagerException
      Takes a screenshot of the current screen and stores it in the RAS
      Throws:
      SeleniumManagerException