Class AlertStub

java.lang.Object
net.thucydides.core.webdriver.stubs.AlertStub
All Implemented Interfaces:
org.openqa.selenium.Alert

public class AlertStub extends Object implements org.openqa.selenium.Alert
  • Constructor Details

    • AlertStub

      public AlertStub()
  • Method Details

    • dismiss

      public void dismiss()
      Specified by:
      dismiss in interface org.openqa.selenium.Alert
    • accept

      public void accept()
      Specified by:
      accept in interface org.openqa.selenium.Alert
    • getText

      public String getText()
      Specified by:
      getText in interface org.openqa.selenium.Alert
    • sendKeys

      public void sendKeys(String keysToSend)
      Specified by:
      sendKeys in interface org.openqa.selenium.Alert