Skip to content

Commit a6bdaf6

Browse files
committed
Issue #4 - Document how to switch browsers
1 parent 16d0d6a commit a6bdaf6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The versioning of this image follows the one of Robot Framework:
1515

1616
The versions used in the latest version are:
1717

18-
* Robot Framework 3.0.1
18+
* Robot Framework 3.0.2
1919
* Robot Framework selenium2library 1.8.0
2020
* Firefox 51.0
2121
* Google Chrome 56.0
@@ -24,4 +24,12 @@ The versions used in the latest version are:
2424

2525
This container can be run using the following command:
2626

27-
docker run -v <local path to the reports' folder>:/opt/robotframework/reports:Z -v <local path to the test suites' folder>:/opt/robotframework/tests:Z ppodgorsek/robot-framework:<version>
27+
docker run -v <local path to the reports' folder>:/opt/robotframework/reports:Z\
28+
-v <local path to the test suites' folder>:/opt/robotframework/tests:Z\
29+
ppodgorsek/robot-framework:<version>
30+
31+
## Switching browsers
32+
33+
Browsers can be easily switched. It is recommended to define `${BROWSER} %{BROWSER}` in your Robot variables and to use ${BROWSER} in your test cases. This allows you to set the browser in a single place if needed.
34+
35+
When running your tests, simply add `-e BROWSER=chrome` or `-e BROWSER=firefox` to the run command.

0 commit comments

Comments
 (0)