class ShowMeTheCookies::Selenium
Public Class Methods
new(driver)
click to toggle source
# File lib/show_me_the_cookies/adapters/selenium.rb, line 3 def initialize(driver) @browser = driver.browser end
Public Instance Methods
Protected Instance Methods
on_the_page?()
click to toggle source
# File lib/show_me_the_cookies/adapters/selenium.rb, line 43 def on_the_page? current_url = @browser.current_url current_url && current_url != '' && current_url != 'about:blank' end