Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/selenium/command_handler.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
require "json"

class Selenium::CommandHandler
include JSON::Serializable
include DefaultCommands
getter http_client : HttpClient

Expand Down
4 changes: 4 additions & 0 deletions src/selenium/http_client.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
require "json"

class Selenium::HttpClient
include JSON::Serializable

getter base_url : String

def initialize(@base_url)
Expand Down
4 changes: 4 additions & 0 deletions src/selenium/session.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
require "json"

class Selenium::Session
include JSON::Serializable

getter http_client : HttpClient
getter command_handler : CommandHandler
getter id : SessionId
Expand Down