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
2 changes: 1 addition & 1 deletion lib/webdriver/error.ex
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ defmodule WebDriver.Error do
Create an ErrorMessage record from raw protocol error data.
"""
def build_message([{"message", message},{"screen", screen},{"class", class},{"stackTrace", stack_trace}])do
ErrorMessage[ message: message, screen: screen, class: class, stack_trace: stack_trace ]
%ErrorMessage{ message: message, screen: screen, class: class, stack_trace: stack_trace }
end

@doc """
Expand Down
2 changes: 1 addition & 1 deletion lib/webdriver/protocol.ex
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ defmodule WebDriver.Protocol do
# Cause some use upper case and some dont...
url = Keyword.get(headers, :Location, Keyword.get(headers, :location))
# Follow redirect
request = Request[method: :GET, url: url, headers: [{"Accept", "application/json;charset=UTF-8"}]]
request = %Request{method: :GET, url: url, headers: [{"Accept", "application/json;charset=UTF-8"}]}
send_request root_url, request
end

Expand Down
6 changes: 3 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ defmodule WebDriver.Mixfile do
# { :foobar, "0.1", git: "https://github.com/elixir-lang/foobar.git" }
defp deps do
[
{:ibrowse, github: "cmullaparthi/ibrowse", tag: "v4.1.0"},
{:ibrowse, github: "VerKnowSys/ibrowse", tag: "v4.2"},
{:httpotion, "~> 0.2.4"},
{:jazz, "~> 0.2.0"},
{:jazz, "~> 0.2.1"},
{:earmark, "~>0.1.19", only: :dev},
{:mock, github: "jjh42/mock", only: :test},
{:earmark, "~>0.1.10", only: :dev},
{:ex_doc, "~>0.6", only: :dev}
]
end
Expand Down
10 changes: 5 additions & 5 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%{"earmark": {:hex, :earmark, "0.1.10"},
%{"earmark": {:hex, :earmark, "0.1.19"},
"ex_doc": {:hex, :ex_doc, "0.6.1"},
"hoedown": {:git, "git://github.com/hoedown/hoedown.git", "34d28b5f1af41a8879985f2550ddcaa54c4e432b", []},
"httpotion": {:hex, :httpotion, "0.2.4"},
"ibrowse": {:git, "git://github.com/cmullaparthi/ibrowse.git", "7871e2ebe8811efb64e1917e2de455fa87e8dfe3", [tag: "v4.1.0"]},
"jazz": {:hex, :jazz, "0.2.0"},
"ibrowse": {:git, "https://github.com/VerKnowSys/ibrowse.git", "fd81d44182507c23445ed720df8c30e2e8da9d9b", [tag: "v4.2"]},
"jazz": {:hex, :jazz, "0.2.1"},
"jsonex": {:git, "git://github.com/marcelog/jsonex.git", "82e6c416eed5e791073427bf3079d7ab7b85a1e1", []},
"jsx": {:git, "git://github.com/talentdeficit/jsx.git", "507fa4c41db33c81e925ab53f4d789d234aaff2f", []},
"markdown": {:git, "git://github.com/devinus/markdown.git", "a428908a6dd88f351775d1d3da530a1a2aa0d6cb", []},
"meck": {:git, "git://github.com/eproxus/meck.git", "dde759050eff19a1a80fd854d7375174b191665d", [tag: "0.8.2"]},
"mock": {:git, "git://github.com/jjh42/mock.git", "275109db347caf3449b6d123bd4da720fb08b28e", []}}
"meck": {:git, "https://github.com/eproxus/meck.git", "dde759050eff19a1a80fd854d7375174b191665d", [tag: "0.8.2"]},
"mock": {:git, "https://github.com/jjh42/mock.git", "275109db347caf3449b6d123bd4da720fb08b28e", []}}