Skip to content
This repository was archived by the owner on Jan 14, 2018. It is now read-only.

Commit 9c75196

Browse files
Better explanation of xvfb in README.md file
- xvfb must be installed first - --no-xvfb argument for development environments Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
1 parent 9c9399f commit 9c75196

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ $ sudo apt install python3-pytest
55
$ pip3 install splinter
66
$ pip3 install pytest-splinter
77
$ pip3 install pytest-bdd
8+
$ sudo apt install xvfb # optional, to avoid opening browser windows
89
$ pip3 install pytest-xvfb # optional, to avoid opening browser windows
910
```
1011

@@ -49,3 +50,10 @@ can also specify which tests to run, by tag or keyword:
4950
```
5051
$ py.test -k essential
5152
```
53+
54+
If xvfb is installed and you still want to see browser windows, use the
55+
`--no-xvfb` command-line argument.
56+
57+
```
58+
$ py.test --no-xvfb -k mediawiki
59+
```

0 commit comments

Comments
 (0)