Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew McGarvey committed May 6, 2020
1 parent 39b7e71 commit af3f70a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/features/alerts_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Selenium::Command
describe "alerts", tags: "feature" do
it "works" do
TestServer.route "/home", "<h1>The Title</h1>"

with_session do |session|
session.navigate_to("http://localhost:3002/home")
document_manager = session.document_manager
Expand Down
1 change: 0 additions & 1 deletion spec/features/window_interactions_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ require "../spec_helper"
module Selenium::Command
describe "window", tags: "feature" do
it "can be interacted with" do

with_session do |session|
window_manager = session.window_manager
window_manager.maximize
Expand Down
3 changes: 2 additions & 1 deletion src/selenium/driver.cr
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module Selenium::Driver
DEFAULT_CONFIGURATION = {
base_url: "http://localhost:4444/wd/hub"
base_url: "http://localhost:4444/wd/hub",
}

def self.for(browser, opts = DEFAULT_CONFIGURATION)
options = DEFAULT_CONFIGURATION.merge(opts)
case browser
Expand Down

0 comments on commit af3f70a

Please sign in to comment.