Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removing JAVA_CLASSPATH, this will work differently in Grid 4 [skip ci]
  • Loading branch information
diemol committed Aug 21, 2020
1 parent b9699d2 commit 305d1cf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions README.md
Expand Up @@ -139,14 +139,6 @@ You can pass `JAVA_OPTS` environment variable to java process.
$ docker run -d -p 4444:4444 -e JAVA_OPTS=-Xmx512m --name selenium-hub selenium/hub:4.0.0-alpha-6-20200730
```

### JAVA_CLASSPATH Java classpath

By default, `CLASSPATH` for Java is `/opt/selenium/*:.` but you can overwrite it with yours using `JAVA_CLASSPATH`. This is useful when you want to use your own JAR files. Note that `/opt/selenium/*` always needs to be included because the Selenium JAR file is in the directory.

```bash
$ docker run -d -p 4444:4444 -v $(pwd):/mnt -e JAVA_CLASSPATH="/mnt/*:/opt/selenium/*:." -e SE_OPTS="-servlets com.example.your.AwesomeServlet" --name selenium-hub selenium/hub:4.0.0-alpha-6-20200730
```

### Selenium Hub and Node Configuration options

For special network configurations or when the hub and the nodes are running on different machines `HUB_HOST` and `HUB_PORT`
Expand Down

0 comments on commit 305d1cf

Please sign in to comment.