Move "selenium_grid" to "seleniumbase/utilities"
This commit is contained in:
parent
87966aa30f
commit
be1723a039
|
@ -1,29 +1 @@
|
|||
## The Selenium Grid Hub
|
||||
|
||||
The Selenium Grid Hub lets you distribute tests to run in parallel across multiple node machines. Each node machine can then run its own allocation of tests. This allows you to run a large suite of tests very quickly.
|
||||
|
||||
### Running the Selenium Grid Hub
|
||||
|
||||
The following commands will work once you've installed seleniumbase, which comes with the seleniumbase console scripts interface.
|
||||
|
||||
Grid Hub server controls:
|
||||
```bash
|
||||
seleniumbase grid-hub {start|stop|restart} [OPTIONS]
|
||||
```
|
||||
Options:
|
||||
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
|
||||
|
||||
Grid node server controlls:
|
||||
```bash
|
||||
seleniumbase grid-node {start|stop|restart} --hub=[HUB_IP] [OPTIONS]
|
||||
```
|
||||
Options:
|
||||
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
|
||||
* ``--hub=[HUB_IP]`` (Specifies the Grid Hub to connect to. Default: "127.0.0.1".)
|
||||
|
||||
When the Grid Hub Console is up and running, you'll be able to find it here: [http://127.0.0.1:4444/grid/console](http://127.0.0.1:4444/grid/console)
|
||||
|
||||
|
||||
#### More info about the Selenium Grid Hub can be found here:
|
||||
* [https://github.com/SeleniumHQ/selenium/wiki/Grid2](https://github.com/SeleniumHQ/selenium/wiki/Grid2)
|
||||
* [https://github.com/SeleniumHQ/selenium/wiki](https://github.com/SeleniumHQ/selenium/wiki/Grid2)
|
||||
### The ReadMe for the Selenium Grid Hub Launcher has been moved to: [seleniumbase/utilities/selenium_grid/ReadMe.md](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_grid/ReadMe.md) and all related code has been moved to [seleniumbase/utilities/selenium_grid](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_grid)
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
## The Selenium Grid Hub
|
||||
|
||||
The Selenium Grid Hub lets you distribute tests to run in parallel across multiple node machines. Each node machine can then run its own allocation of tests. This allows you to run a large suite of tests very quickly.
|
||||
|
||||
### Running the Selenium Grid Hub
|
||||
|
||||
The following commands will work once you've installed seleniumbase, which comes with the seleniumbase console scripts interface.
|
||||
|
||||
Grid Hub server controls:
|
||||
```
|
||||
seleniumbase grid-hub {start|stop|restart} [OPTIONS]
|
||||
```
|
||||
Options:
|
||||
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
|
||||
|
||||
Grid node server controlls:
|
||||
```
|
||||
seleniumbase grid-node {start|stop|restart} --hub=[HUB_IP] [OPTIONS]
|
||||
```
|
||||
Options:
|
||||
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
|
||||
* ``--hub=[HUB_IP]`` (Specifies the Grid Hub to connect to. Default: "127.0.0.1".)
|
||||
|
||||
When the Grid Hub Console is up and running, you'll be able to find it here: [http://127.0.0.1:4444/grid/console](http://127.0.0.1:4444/grid/console)
|
||||
|
||||
|
||||
#### More info about the Selenium Grid Hub can be found here:
|
||||
* [https://github.com/SeleniumHQ/selenium/wiki/Grid2](https://github.com/SeleniumHQ/selenium/wiki/Grid2)
|
||||
* [https://github.com/SeleniumHQ/selenium/wiki](https://github.com/SeleniumHQ/selenium/wiki/Grid2)
|
|
@ -49,7 +49,7 @@ def main():
|
|||
file.writelines("\r\n".join(data))
|
||||
file.close()
|
||||
|
||||
from integrations.selenium_grid import download_selenium_server
|
||||
from seleniumbase.utilities.selenium_grid import download_selenium_server
|
||||
download_selenium_server.main() # Nothing happens if already exists
|
||||
|
||||
if "linux" in sys.platform or "darwin" in sys.platform:
|
|
@ -60,7 +60,7 @@ def main():
|
|||
file.writelines("\r\n".join(data))
|
||||
file.close()
|
||||
|
||||
from integrations.selenium_grid import download_selenium_server
|
||||
from seleniumbase.utilities.selenium_grid import download_selenium_server
|
||||
download_selenium_server.main() # Nothing happens if already exists
|
||||
|
||||
if "linux" in sys.platform or "darwin" in sys.platform:
|
Loading…
Reference in New Issue