class Selenium::Session
- Selenium::Session
- Reference
- Object
Defined in:
webdriver/session.crwebdriver/session/cookies.cr
Constructors
Instance Method Summary
- #active_element
- #alert
- #back
- #button_down(button : MouseButton = MouseButton::Left)
- #button_up(button : MouseButton = MouseButton::Left)
- #capabilities : Hash(String, JSON::Any)
- #capabilities? : Hash(String, JSON::Any) | Nil
- #click(button : MouseButton = MouseButton::LEFT)
- #cookies
- #double_click(button : MouseButton = MouseButton::Left)
- #driver : Webdriver
- #execute(script, *args)
- #execute_async(script, *args)
- #find_element(by, selector, parent : WebElement | Nil = nil)
- #find_elements(by, selector, parent : WebElement | Nil = nil)
- #forward
- #frame(identifier)
- #id : String
- #id? : String | Nil
- #move_to(x, y, element : WebElement = nil)
- #orientation
- #orientation=(value)
- #parent_frame
- #refresh
- #save_screenshot(path)
- #screenshot
- #source
- #stop
- #timeouts(script : Int | Nil = nil, implicit : Int | Nil = nil, page_load : Int | Nil = nil)
- #title
- #url
- #url=(url)
Constructor Detail
def self.new(driver : Selenium::Webdriver, desired_capabilities = Webdriver::CAPABILITIES, required_capabilities = Webdriver::CAPABILITIES, url = "about:blank")
#