class Selenium::Session

Defined in:

webdriver/session.cr
webdriver/session/cookies.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(driver : Selenium::Webdriver, desired_capabilities = Webdriver::CAPABILITIES, required_capabilities = Webdriver::CAPABILITIES, url = "about:blank") #

[View source]

Instance Method Detail

def active_element #

[View source]
def alert #

[View source]
def back #

[View source]
def button_down(button : MouseButton = MouseButton::Left) #

[View source]
def button_up(button : MouseButton = MouseButton::Left) #

[View source]
def capabilities : Hash(String, JSON::Any) #

[View source]
def capabilities? : Hash(String, JSON::Any) | Nil #

[View source]
def click(button : MouseButton = MouseButton::LEFT) #

[View source]
def cookies #

[View source]
def double_click(button : MouseButton = MouseButton::Left) #

[View source]
def driver : Webdriver #

[View source]
def execute(script, *args) #

[View source]
def execute_async(script, *args) #

[View source]
def find_element(by, selector, parent : WebElement | Nil = nil) #

[View source]
def find_elements(by, selector, parent : WebElement | Nil = nil) #

[View source]
def forward #

[View source]
def frame(identifier) #

[View source]
def id : String #

[View source]
def id? : String | Nil #

[View source]
def move_to(x, y, element : WebElement = nil) #

[View source]
def orientation #

[View source]
def orientation=(value) #

[View source]
def parent_frame #

[View source]
def refresh #

[View source]
def save_screenshot(path) #

[View source]
def screenshot #

[View source]
def source #

[View source]
def stop #

[View source]
def timeouts(script : Int | Nil = nil, implicit : Int | Nil = nil, page_load : Int | Nil = nil) #

[View source]
def title #

[View source]
def url #

[View source]
def url=(url) #

[View source]