Skip to content

Commit fbba457

Browse files
author
John Doherty
committed
made config section of readme a child of options
1 parent 3cc5d9a commit fbba457

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.MD

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ JavaScript browser automation framework using official [selenium-webdriver](http
99
* [Installation](#installation)
1010
* [Usage](#usage)
1111
* [Options](#options)
12-
* [Default configuration file](#default-configuration-file)
12+
* [Configuration file](#configuration-file)
1313
* [Feature files](#feature-files)
1414
* [Step definitions](#step-definitions)
1515
* [Page objects](#page-objects)
@@ -62,14 +62,9 @@ By default tests are run using Google Chrome, to run tests using another browser
6262
| Firefox | `-b firefox`
6363
| Phantom JS | `-b phantomjs`
6464

65-
### Default configuration file
65+
#### Configuration file
6666

67-
Many configuration options can be defaulted so they don't need to be overridden on the command line.
68-
The JSON keys are the "long name" from the command line options.
69-
70-
A "selenium-cucumber-js.json" file at the root of your project allows you to specify a subset of configuration overrides.
71-
72-
For example the following duplicates default configuration:
67+
Configuration options can be set using a `selenium-cucumber-js.json` file at the root of your project. The JSON keys use the "long name" from the command line options. For example the following duplicates default configuration:
7368

7469
```json
7570
{
@@ -82,8 +77,7 @@ For example the following duplicates default configuration:
8277
}
8378
```
8479

85-
This would set configuration to match the expected directory structure of IntelliJ's Cucumber plugin, and make default timeout one minute.
86-
Note that the default browser has not been overridden and will remain 'chrome'.
80+
Whereas the following would set configuration to match the expected directory structure of IntelliJ's Cucumber plugin, and make default timeout one minute. _Note that the default browser has not been overridden and will remain 'chrome'._
8781

8882
```json
8983
{

0 commit comments

Comments
 (0)