Sha256: 348f4b0995e3cf71d468d38566f9d1ef358786760c016fa04d0e3905a7bbc90f
Contents?: true
Size: 482 Bytes
Versions: 26
Compression:
Stored size: 482 Bytes
Contents
module Selenium module WebDriver class Alert def initialize(bridge) @bridge = bridge # fail fast if the alert doesn't exist bridge.getAlertText end def accept @bridge.acceptAlert end def dismiss @bridge.dismissAlert end def send_keys(keys) @bridge.setAlertValue keys end def text @bridge.getAlertText end end # Alert end # WebDriver end # Selenium
Version data entries
26 entries across 26 versions & 2 rubygems