Class HtmlUnitAlert

  • All Implemented Interfaces:
    org.openqa.selenium.Alert

    public class HtmlUnitAlert
    extends Object
    implements org.openqa.selenium.Alert
    Implementation of Alert.
    Author:
    Ahmed Ashour, A aftakhov, Ronald Brill
    • Method Detail

      • setAutoAccept

        public void setAutoAccept​(boolean autoAccept)
      • handleBrowserCapabilities

        public void handleBrowserCapabilities​(org.openqa.selenium.Capabilities capabilities)
      • 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
      • ensureUnlocked

        public void ensureUnlocked()