Class AlertStub

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

public class AlertStub
extends java.lang.Object
implements org.openqa.selenium.Alert
  • Constructor Summary

    Constructors
    Constructor Description
    AlertStub()  
  • Method Summary

    Modifier and Type Method Description
    void accept()  
    void dismiss()  
    java.lang.String getText()  
    void sendKeys​(java.lang.String keysToSend)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 java.lang.String getText()
      Specified by:
      getText in interface org.openqa.selenium.Alert
    • sendKeys

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