abstract class Webdriver::Capabilities::Base

Direct Known Subclasses

Defined in:

webdriver/capabilities.cr

Constant Summary

UNHANDLED_PROMPT_OPTIONS = ["dismiss", "accept", "dismiss and notify", "accept and notify", "ignore"]

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(browser_name : String, options_key : String, *, browser_version : String | Nil = nil, platform_name : String | Nil = nil, platform_version : String | Nil = nil, insecure_certs : Bool = true, page_load_strategy : String | Nil = nil, proxy : Proxy | Nil = nil, windowing : Bool | Nil = nil, timeouts : Timeouts | Nil = nil, strict : Bool | Nil = nil, unhandled_prompt_behavior : String | Nil = nil, args : Array(String) | Nil = nil) #

[View source]

Class Method Detail

def self.default(browser_name, **opts) #

[View source]

Instance Method Detail

def to_json(json : JSON::Builder) #

[View source]