Summary Table
| Categories |
Total Count |
| PII |
0 |
| URL |
0 |
| DNS |
0 |
| EKL |
0 |
| IP |
0 |
| PORT |
0 |
| VsID |
0 |
| CF |
0 |
| AI |
0 |
| VPD |
0 |
| PL |
0 |
| Other |
0 |
File Content
require 'rubygems'
require 'selenium-webdriver'
require_relative "../module/DriverUtility"
class PleaseNote
include DriverUtility
ACCEPT_BUTTON = "button[ng-click='acceptClicked()']"
def initialize(driver)
@driver = driver
end
def clickAccept
!5.times{ break if (getElement(:css, ACCEPT_BUTTON).displayed?); }
click(:css, ACCEPT_BUTTON)
end
end