Skip to content

Commit 835e185

Browse files
committed
Misc doc changes
Besides other documentation changes, this commit ensures the generated HTML doc for HexDocs.pm will become the source of truth for this Elixir library and leverage on latest features of ExDoc.
1 parent 19b637e commit 835e185

8 files changed

Lines changed: 104 additions & 74 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Changelog
22

3-
## 0.2 - 2021-09-13
3+
All notable changes to this project will be documented in this file.
44

5-
* Increases minimum elixir version to 1.8.
6-
* Relaxes tesla version requirement to ~> 1.3.
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## 0.1 - 2020-04-15
98

10-
Initial release.
9+
## v0.2 - 2021-09-13
10+
11+
* Increases minimum Elixir version to 1.8.
12+
* Relaxes Tesla version requirement to ~> 1.3.
13+
14+
## v0.1 - 2020-04-15
15+
16+
* Initial release.

LICENSE renamed to LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MIT License
1+
# MIT License
22

33
Copyright (c) 2020 Aaron Renner
44

README.md

Lines changed: 65 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# WebDriverClient
2+
23
[![codecov](https://codecov.io/gh/aaronrenner/web_driver_client/branch/master/graph/badge.svg)](https://codecov.io/gh/aaronrenner/web_driver_client)
4+
[![Module Version](https://img.shields.io/hexpm/v/web_driver_client.svg)](https://hex.pm/packages/web_driver_client)
5+
[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/web_driver_client/)
6+
[![Total Download](https://img.shields.io/hexpm/dt/web_driver_client.svg)](https://hex.pm/packages/web_driver_client)
7+
[![License](https://img.shields.io/hexpm/l/web_driver_client.svg)](https://github.com/elixir-wallably/web_driver_client/blob/master/LICENSE.md)
8+
[![Last Updated](https://img.shields.io/github/last-commit/elixir-wallably/web_driver_client.svg)](https://github.com/elixir-wallably/web_driver_client/commits/master)
39

410
A low-level [WebDriver] client for Elixir. This library is still a work in progress.
511

@@ -15,7 +21,6 @@ library is designed to be the API client for higher-level libraries, like [Walla
1521
|> WebDriverClient.Config.build(protocol: :w3c)
1622
|> WebDriverClient.start_session(%{"capabilities" => %{}})
1723

18-
1924
:ok = WebDriverClient.navigate_to(session, "http://dockyard.com")
2025

2126
{:ok, element} = WebDriverClient.find_element(session, :css_selector, ".site-nav__logo__link")
@@ -26,26 +31,27 @@ WebDriverClient.fetch_element_text(session, element) # => {:ok, "DockYard Home"}
2631
```
2732

2833
### Design considerations
29-
* Should be a thin, well-documented API client that calls the WebDriver REST APIs.
30-
* Should provide a main API that abstracts away the differences between the JWP and W3C
31-
protocols.
32-
* (Future) Should provide protocol-specific APIs as an escape-hatch to access functionality
33-
that is not common to both protocols.
34-
* Sometimes the user will request one protocol and the server returns the other protocol. This
35-
happens if the user sends the incorrect payload on session start, or requests an
36-
endpoint that is not tied to an individual session (like listing sessions).
3734

38-
This library should gracefully handle these situations, while still notifying the user
39-
that the wrong protocol was returned.
35+
* Should be a thin, well-documented API client that calls the WebDriver REST APIs.
36+
* Should provide a main API that abstracts away the differences between the JWP
37+
and W3C protocols.
38+
* (Future) Should provide protocol-specific APIs as an escape-hatch to access
39+
functionality that is not common to both protocols.
40+
* Sometimes the user will request one protocol and the server returns the other
41+
protocol. This happens if the user sends the incorrect payload on session
42+
start, or requests an endpoint that is not tied to an individual session
43+
(like listing sessions).
44+
45+
This library should gracefully handle these situations, while still notifying
46+
the user that the wrong protocol was returned.
4047

4148
### What this library is not
49+
4250
* This is not a high-level library to be used for day to day
4351
testing. Features like retries, pipeline commands, etc
4452
are outside the scope of this project. These features are better
4553
delegated to a high-level library like [Wallaby] or [Hound].
4654

47-
48-
4955
## Testing
5056

5157
In order to ensure the reliability of this library, test coverage is very
@@ -74,91 +80,93 @@ Note: This project does not start any WebDriver program. Those need to be starte
7480

7581
To install ChromeDriver on OS X:
7682

77-
```
83+
```sh
7884
$ brew cask install chromedriver
7985
```
8086

8187
Before running test suite, start up chromedriver
8288

83-
```
89+
```sh
8490
$ chromedriver
8591
```
8692

8793
Then to run the integration tests, run:
8894

89-
```
95+
```sh
9096
$ mix test --only integration_test_driver:chromedriver
9197
```
9298

9399
#### PhantomJS
94100

95101
To install PhantomJS on OS X:
96102

97-
```
103+
```sh
98104
$ brew cask install phantomjs
99105
```
100106

101107
Before running test suite, start up phantomjs
102108

103-
```
109+
```sh
104110
$ phantomjs --wd
105111
```
106112

107113
Then to run the integration tests, run:
108114

109-
```
115+
```sh
110116
$ mix test --only integration_test_driver:phantomjs
111117
```
112118

113119
#### Selenium
114120

115121
To install ChromeDriver on OS x:
116122

117-
```
123+
```sh
118124
$ brew install selenium-server-standalone
119125
```
120126

121127
You also need to install the webdriver servers
122128

123-
For firefox:
124-
```
129+
For Firefox:
130+
131+
```sh
125132
$ brew install geckodriver
126133
```
127134

128-
For chrome:
129-
```
135+
For Chrome:
136+
137+
```sh
130138
$ brew install chromedriver
131139
```
132140

133141
Before running test suite, start up selenium
134142

135-
```
143+
```sh
136144
$ selenium-server
137145
```
138146

139147
Then to run the integration tests, run:
140148

141-
```
149+
```sh
142150
$ mix test --only integration_test_driver:selenium_3
143151
```
144152

145153
If you'd like to run only the selenium tests for chrome, run:
146154

147-
```
155+
```sh
148156
$ mix test --only integration_test_driver_browser:selenium_3-chrome
149157
```
150158

151-
And to only run selenium tests for firefox, run:
159+
And to only run selenium tests for Firefox, run:
152160

153-
```
161+
```sh
154162
$ mix test --only integration_test_driver_browser:selenium_3-firefox
155163
```
156164

157165
##### Selenium 2
158-
If you'd like to run integration tests for `selenium_2`, just replace `selenium_3` with
159-
`selenium_2`.
160166

161-
```
167+
If you'd like to run integration tests for `selenium_2`, just replace `selenium_3` with `selenium_2`.
168+
169+
```sh
162170
$ mix test --only integration_test_driver:selenium_2
163171
```
164172

@@ -169,33 +177,32 @@ Here's an example that runs the tests against a docker container.
169177

170178
1. Start the docker container for the webdriver server
171179

172-
```
173-
$ docker run -p 4446:4444 --shm-size=2g selenium/standalone-chrome:3
174-
```
180+
```sh
181+
$ docker run -p 4446:4444 --shm-size=2g selenium/standalone-chrome:3
182+
```
175183

176184
2. Run the tests
177185

178-
```
179-
$ SELENIUM_3_BASE_URL="http://localhost:4446/wd/hub" TEST_SERVER_HOSTAME="host.docker.internal" mix test --only integration_test_driver_browser:selenium_3-chrome
180-
```
181-
182-
The environment variables work like this:
183-
184-
* `<DRIVER_NAME>_BASE_URL` - The base url for the webdriver server to run
185-
against. Can also use `WEBDRIVER_BASE_URL` to set this across all scenarios.
186-
* ` TEST_SERVER_HOSTNAME` - The hostname the webdriver server should use to access
187-
the machine that's running the test suite.
188-
189-
The test suite starts up a test HTTP server, but when using a remote webdriver
190-
server, the webdriver server needs to where the test pages live. When running in
191-
docker for Mac, the hostname of the host computer is `host.docker.internal`.
186+
```sh
187+
$ SELENIUM_3_BASE_URL="http://localhost:4446/wd/hub" TEST_SERVER_HOSTAME="host.docker.internal" mix test --only integration_test_driver_browser:selenium_3-chrome
188+
```
192189

190+
The environment variables work like this:
193191

192+
* `<DRIVER_NAME>_BASE_URL` - The base url for the webdriver server to run
193+
against. Can also use `WEBDRIVER_BASE_URL` to set this across all
194+
scenarios.
195+
* `TEST_SERVER_HOSTNAME` - The hostname the webdriver server should use to
196+
access the machine that's running the test suite. The test suite starts up
197+
a test HTTP server, but when using a remote webdriver server, the
198+
webdriver server needs to where the test pages live. When running in
199+
docker for Mac, the hostname of the host computer is
200+
`host.docker.internal`.
194201

195202
## Installation
196203

197-
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
198-
by adding `web_driver_client` to your list of dependencies in `mix.exs`:
204+
The package can be installed by adding `:web_driver_client` to your list of
205+
dependencies in `mix.exs`:
199206

200207
```elixir
201208
def deps do
@@ -227,6 +234,13 @@ $ MIX_ENV=docs_prerelease mix docs
227234
It's important to note the pre-release APIs aren't public and
228235
may change at any time.
229236

237+
## Copyright and License
238+
239+
Copyright (c) 2020 Aaron Renner
240+
241+
This work is free. You can redistribute it and/or modify it under the
242+
terms of the MIT License. See the [LICENSE.md](./LICENSE.md) file for more details.
243+
230244
[WebDriver]: https://w3c.github.io/webdriver/
231245
[JWP]: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol
232246
[W3C]: https://w3c.github.io/webdriver/

lib/web_driver_client/json_wire_protocol_client.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ defmodule WebDriverClient.JSONWireProtocolClient do
309309
end
310310

311311
@doc """
312-
Fetchs the attribute value of an element
312+
Fetches the attribute value of an element
313313
314314
Specification: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidelementidattributename
315315
"""

mix.exs

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
defmodule WebDriverClient.MixProject do
22
use Mix.Project
33

4+
@source_url "https://github.com/aaronrenner/web_driver_client"
45
@version "0.2.0"
56

67
def project do
@@ -22,10 +23,7 @@ defmodule WebDriverClient.MixProject do
2223
docs: docs(),
2324
deps: deps(),
2425
dialyzer: dialyzer(),
25-
package: package(),
26-
description: """
27-
Low-level WebDriver client for Elixir.
28-
"""
26+
package: package()
2927
]
3028
end
3129

@@ -47,7 +45,7 @@ defmodule WebDriverClient.MixProject do
4745
{:excoveralls, "~> 0.10", only: :test},
4846
{:credo, "~> 1.4.0", only: [:dev, :test], runtime: false},
4947
{:dialyxir, "~> 1.0.0-rc.7", only: [:dev], runtime: false},
50-
{:ex_doc, "~> 0.20", only: [:docs, :docs_prerelease]}
48+
{:ex_doc, ">= 0.0.0", only: [:docs, :docs_prerelease]}
5149
]
5250
end
5351

@@ -63,7 +61,15 @@ defmodule WebDriverClient.MixProject do
6361

6462
defp docs do
6563
[
66-
main: "WebDriverClient",
64+
extras: [
65+
"CHANGELOG.md": [],
66+
"LICENSE.md": [title: "License"],
67+
"README.md": [title: "Overview"]
68+
],
69+
main: "readme",
70+
source_ref: "v#{@version}",
71+
source_url: @source_url,
72+
formatters: ["html"],
6773
groups_for_modules: [
6874
"Main API": [
6975
WebDriverClient,
@@ -99,17 +105,19 @@ defmodule WebDriverClient.MixProject do
99105
Elements: &(&1[:subject] == :elements),
100106
Alerts: &(&1[:subject] == :alerts),
101107
Logging: &(&1[:subject] == :logging)
102-
],
103-
source_ref: "v#{@version}",
104-
source_url: "https://github.com/aaronrenner/web_driver_client"
108+
]
105109
]
106110
end
107111

108112
defp package do
109113
[
114+
description: "Low-level WebDriver client for Elixir.",
110115
maintainers: ["Aaron Renner", "Michał Łępicki"],
111116
licenses: ["MIT"],
112-
links: %{github: "https://github.com/aaronrenner/web_driver_client"}
117+
links: %{
118+
Changelog: "https://hexdocs.pm/web_driver_client/changelog.html",
119+
GitHub: @source_url
120+
}
113121
]
114122
end
115123
end

mix.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,20 @@
77
"credo": {:hex, :credo, "1.4.0", "92339d4cbadd1e88b5ee43d427b639b68a11071b6f73854e33638e30a0ea11f5", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "1fd3b70dce216574ce3c18bdf510b57e7c4c85c2ec9cad4bff854abaf7e58658"},
88
"dialyxir": {:hex, :dialyxir, "1.0.0", "6a1fa629f7881a9f5aaf3a78f094b2a51a0357c843871b8bc98824e7342d00a5", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "aeb06588145fac14ca08d8061a142d52753dbc2cf7f0d00fc1013f53f8654654"},
99
"earmark": {:hex, :earmark, "1.4.3", "364ca2e9710f6bff494117dbbd53880d84bebb692dafc3a78eb50aa3183f2bfd", [:mix], [], "hexpm", "8cf8a291ebf1c7b9539e3cddb19e9cef066c2441b1640f13c34c1d3cfc825fec"},
10+
"earmark_parser": {:hex, :earmark_parser, "1.4.16", "607709303e1d4e3e02f1444df0c821529af1c03b8578dfc81bb9cf64553d02b9", [:mix], [], "hexpm", "69fcf696168f5a274dd012e3e305027010658b2d1630cef68421d6baaeaccead"},
1011
"erlex": {:hex, :erlex, "0.2.6", "c7987d15e899c7a2f34f5420d2a2ea0d659682c06ac607572df55a43753aa12e", [:mix], [], "hexpm", "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"},
11-
"ex_doc": {:hex, :ex_doc, "0.21.3", "857ec876b35a587c5d9148a2512e952e24c24345552259464b98bfbb883c7b42", [:mix], [{:earmark, "~> 1.4", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm", "0db1ee8d1547ab4877c5b5dffc6604ef9454e189928d5ba8967d4a58a801f161"},
12+
"ex_doc": {:hex, :ex_doc, "0.25.3", "3edf6a0d70a39d2eafde030b8895501b1c93692effcbd21347296c18e47618ce", [:mix], [{:earmark_parser, "~> 1.4.0", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "9ebebc2169ec732a38e9e779fd0418c9189b3ca93f4a676c961be6c1527913f5"},
1213
"excoveralls": {:hex, :excoveralls, "0.12.2", "a513defac45c59e310ac42fcf2b8ae96f1f85746410f30b1ff2b710a4b6cd44b", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "151c476331d49b45601ffc45f43cb3a8beb396b02a34e3777fea0ad34ae57d89"},
1314
"hackney": {:hex, :hackney, "1.15.2", "07e33c794f8f8964ee86cebec1a8ed88db5070e52e904b8f12209773c1036085", [:rebar3], [{:certifi, "2.5.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "6.0.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.5", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm", "e0100f8ef7d1124222c11ad362c857d3df7cb5f4204054f9f0f4a728666591fc"},
1415
"idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "4bdd305eb64e18b0273864920695cb18d7a2021f31a11b9c5fbcd9a253f936e2"},
1516
"jason": {:hex, :jason, "1.2.0", "10043418c42d2493d0ee212d3fddd25d7ffe484380afad769a0a38795938e448", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "116747dbe057794c3a3e4e143b7c8390b29f634e16c78a7f59ba75bfa6852e7f"},
16-
"makeup": {:hex, :makeup, "1.0.0", "671df94cf5a594b739ce03b0d0316aa64312cee2574b6a44becb83cd90fb05dc", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "a10c6eb62cca416019663129699769f0c2ccf39428b3bb3c0cb38c718a0c186d"},
17-
"makeup_elixir": {:hex, :makeup_elixir, "0.14.0", "cf8b7c66ad1cff4c14679698d532f0b5d45a3968ffbcbfd590339cb57742f1ae", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "d4b316c7222a85bbaa2fd7c6e90e37e953257ad196dc229505137c5e505e9eff"},
17+
"makeup": {:hex, :makeup, "1.0.5", "d5a830bc42c9800ce07dd97fa94669dfb93d3bf5fcf6ea7a0c67b2e0e4a7f26c", [:mix], [{:nimble_parsec, "~> 0.5 or ~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cfa158c02d3f5c0c665d0af11512fed3fba0144cf1aadee0f2ce17747fba2ca9"},
18+
"makeup_elixir": {:hex, :makeup_elixir, "0.15.2", "dc72dfe17eb240552857465cc00cce390960d9a0c055c4ccd38b70629227e97c", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.1", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "fd23ae48d09b32eff49d4ced2b43c9f086d402ee4fd4fcb2d7fad97fa8823e75"},
19+
"makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"},
1820
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm", "69b09adddc4f74a40716ae54d140f93beb0fb8978d8636eaded0c31b6f099f16"},
1921
"mime": {:hex, :mime, "1.3.1", "30ce04ab3175b6ad0bdce0035cba77bba68b813d523d1aac73d9781b4d193cf8", [:mix], [], "hexpm", "6cbe761d6a0ca5a31a0931bf4c63204bceb64538e664a8ecf784a9a6f3b875f1"},
2022
"mimerl": {:hex, :mimerl, "1.2.0", "67e2d3f571088d5cfd3e550c383094b47159f3eee8ffa08e64106cdf5e981be3", [:rebar3], [], "hexpm", "f278585650aa581986264638ebf698f8bb19df297f66ad91b18910dfc6e19323"},
21-
"nimble_parsec": {:hex, :nimble_parsec, "0.5.3", "def21c10a9ed70ce22754fdeea0810dafd53c2db3219a0cd54cf5526377af1c6", [:mix], [], "hexpm", "589b5af56f4afca65217a1f3eb3fee7e79b09c40c742fddc1c312b3ac0b3399f"},
23+
"nimble_parsec": {:hex, :nimble_parsec, "1.1.0", "3a6fca1550363552e54c216debb6a9e95bd8d32348938e13de5eda962c0d7f89", [:mix], [], "hexpm", "08eb32d66b706e913ff748f11694b17981c0b04a33ef470e33e11b3d3ac8f54b"},
2224
"parse_trans": {:hex, :parse_trans, "3.3.0", "09765507a3c7590a784615cfd421d101aec25098d50b89d7aa1d66646bc571c1", [:rebar3], [], "hexpm", "17ef63abde837ad30680ea7f857dd9e7ced9476cdd7b0394432af4bfc241b960"},
2325
"plug": {:hex, :plug, "1.8.3", "12d5f9796dc72e8ac9614e94bda5e51c4c028d0d428e9297650d09e15a684478", [:mix], [{:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}, {:plug_crypto, "~> 1.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm", "164baaeb382d19beee0ec484492aa82a9c8685770aee33b24ec727a0971b34d0"},
2426
"plug_cowboy": {:hex, :plug_cowboy, "2.1.0", "b75768153c3a8a9e8039d4b25bb9b14efbc58e9c4a6e6a270abff1cd30cbe320", [:mix], [{:cowboy, "~> 2.5", [hex: :cowboy, repo: "hexpm", optional: false]}, {:plug, "~> 1.7", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "6cd8ddd1bd1fbfa54d3fc61d4719c2057dae67615395d58d40437a919a46f132"},

test/web_driver_client/w3c_wire_protocol_client_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,7 @@ defmodule WebDriverClient.W3CWireProtocolClientTest do
20642064
end
20652065

20662066
defp build_start_session_payload do
2067-
%{"capablities" => %{"browserName" => "firefox"}}
2067+
%{"capabilities" => %{"browserName" => "firefox"}}
20682068
end
20692069

20702070
defp string_to_type do

test/web_driver_client_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ defmodule WebDriverClientTest do
16991699
end
17001700

17011701
defp build_start_session_payload do
1702-
%{"capablities" => %{"browserName" => "firefox"}}
1702+
%{"capabilities" => %{"browserName" => "firefox"}}
17031703
end
17041704

17051705
defp stub_bypass_response(bypass, response) do

0 commit comments

Comments
 (0)