class LuckyFlow::Webless::Browser

Defined in:

lucky_flow/webless/browser.cr

Constant Summary

REDIRECT_LIMIT = 5

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : ::Webless::Client) #

[View source]

Instance Method Detail

def add_cookie(key : String, value : String) #

[View source]
def current_url : String #

[View source]
def find_css(query : String) : Array(HTML5::Node) #

[View source]
def find_xpath(query : String) : Array(HTML5::Node) #

[View source]
def follow(method : String, url : String) #

[View source]
def get_cookie(key : String) : String | Nil #

[View source]
def html : String #

[View source]
def reset #

[View source]
def submit(request : HTTP::Request) #

[View source]
def visit(url : String) #

[View source]