Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61f521a

Browse files
author
Baiju Muthukadan
committed
club selenium server sections
1 parent e8a4951 commit 61f521a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

source/installation.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,21 +109,21 @@ latest 2.x version of Selenium server.
109109
If Java Runtime Environment (JRE) is not installed in your system, you
110110
can download the `JRE from the Oracle website
111111
<http://www.oracle.com/technetwork/java/javase/downloads/index.html>`_.
112-
If you have root access in your system, you can also use your
113-
operating system instructions to install JRE.
112+
If you are using a GNU/Linux system and have root access in your system,
113+
you can also use your operating system instructions to install JRE.
114114

115+
If `java` command is available in the PATH (environment variable),
116+
you can start the Selenium server using this command::
115117

116-
Running Selenium server
117-
~~~~~~~~~~~~~~~~~~~~~~~
118+
java -jar selenium-server-standalone-2.x.x.jar
118119

119-
You should have Java Runtime Environment (JRE) in the system. If
120-
`java` command is available in the PATH (environment variable), you
121-
can start the Selenium server using the command command given below.
122120
Replace `2.x.x` with actual version of Selenium server you downloaded
123-
from the site. If JRE is installed as a non-root user and/or if it is
124-
not available in the PATH (environment variable), you can type the
125-
relative/absolute path to the `java` command, for eg:-
126-
``./jre1.6.0_26/bin/java``::
121+
from the site.
127122

128-
java -jar selenium-server-standalone-2.x.x.jar
123+
If JRE is installed as a non-root user and/or if it is
124+
not available in the PATH (environment variable), you can type the
125+
relative or absolute path to the `java` command. Similarly, you can
126+
provide relative or absolute path to Selenium server jar file.
127+
Then, the command will look something like this::
129128

129+
/path/to/java -jar /path/to/selenium-server-standalone-2.x.x.jar

0 commit comments

Comments
 (0)