WebDriverRule (Apache Geode 1.7.0)
Date: 2018-09-27

org.apache.geode.tools.pulse.tests.rules

## Class WebDriverRule

- java.lang.Object
- - org.junit.rules.ExternalResource
  - - org.apache.geode.tools.pulse.tests.rules.WebDriverRule

- All Implemented Interfaces:
    org.junit.rules.TestRule

      public class WebDriverRule
      extends org.junit.rules.ExternalResource

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WebDriverRule(java.lang.String pulseUrl)`
    `WebDriverRule(java.lang.String username, java.lang.String password, java.lang.String pulseUrl)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `after()`
    `void` | `before()`
    `org.openqa.selenium.WebDriver` | `getDriver()`
    `java.lang.String` | `getPulseURL()`

    - ### Methods inherited from class org.junit.rules.ExternalResource

      `apply`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WebDriverRule

          public WebDriverRule(java.lang.String pulseUrl)

    - #### WebDriverRule

          public WebDriverRule(java.lang.String username,
                               java.lang.String password,
                               java.lang.String pulseUrl)

  - ### Method Detail

    - #### getDriver

          public org.openqa.selenium.WebDriver getDriver()

    - #### getPulseURL

          public java.lang.String getPulseURL()

    - #### before

          public void before()
                      throws java.lang.Throwable

      Overrides:
        `before` in class `org.junit.rules.ExternalResource`
      Throws:
        `java.lang.Throwable`

    - #### after

          public void after()

      Overrides:
        `after` in class `org.junit.rules.ExternalResource`