Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natshah/install-selenium-server
Installing and configuring selenium server to work for each automated testing session
https://github.com/natshah/install-selenium-server
install installation installer linux selenium selenium-webdriver server ubuntu ubuntu-server
Last synced: 24 days ago
JSON representation
Installing and configuring selenium server to work for each automated testing session
- Host: GitHub
- URL: https://github.com/natshah/install-selenium-server
- Owner: Natshah
- Created: 2017-02-08T11:03:33.000Z (over 7 years ago)
- Default Branch: 2.x
- Last Pushed: 2017-02-22T12:33:46.000Z (over 7 years ago)
- Last Synced: 2024-10-14T19:41:06.210Z (24 days ago)
- Topics: install, installation, installer, linux, selenium, selenium-webdriver, server, ubuntu, ubuntu-server
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
## Install Selenium Server
Installing and configuring selenium server for automated testing sessions.
Some time I do test using some internal or external selenium server, but they
do not have the option of restarting every thing from the beginning .I just want a very fast and basic solution, if the test finish I want the
selenium server to restart, and gave me a fresh start for the next automated
testing session.
I made this list of script with a basic installer which:
- Have Selenium standalone server will downloaded and installed on your
localhost or server.
- Then selenium will start working after reboots.
- This selenium server will start at the 4445 port number.You will need to have Java first.
================================================================================
```
$ sudo apt-get install openjdk-8-jdk
$ sudo apt-get install openjdk-8-jre
```
================================================================================Run the following command to install selenium server:
================================================================================
```
$ sh ./install-selenium-server.sh
```
================================================================================We could use the following commands to control the server
================================================================================
```
sudo /etc/init.d/selenium start
``````
sudo /etc/init.d/selenium stop
``````
sudo /etc/init.d/selenium restart
```
================================================================================If you want to Uninstall :
================================================================================
```
$ sh ./uninstall-selenium-server.sh
```
================================================================================Then Reboot.
The only thing we do need is a reset Button to restart the selenium server to
work in a new automated testing session.