Skip to content

Commit be1723a

Browse files
committed
Move "selenium_grid" to "seleniumbase/utilities"
1 parent 87966aa commit be1723a

File tree

13 files changed

+32
-31
lines changed

13 files changed

+32
-31
lines changed

integrations/selenium_grid/ReadMe.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1 @@
1-
## The Selenium Grid Hub
2-
3-
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.
4-
5-
### Running the Selenium Grid Hub
6-
7-
The following commands will work once you've installed seleniumbase, which comes with the seleniumbase console scripts interface.
8-
9-
Grid Hub server controls:
10-
```bash
11-
seleniumbase grid-hub {start|stop|restart} [OPTIONS]
12-
```
13-
Options:
14-
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
15-
16-
Grid node server controlls:
17-
```bash
18-
seleniumbase grid-node {start|stop|restart} --hub=[HUB_IP] [OPTIONS]
19-
```
20-
Options:
21-
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
22-
* ``--hub=[HUB_IP]`` (Specifies the Grid Hub to connect to. Default: "127.0.0.1".)
23-
24-
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)
25-
26-
27-
#### More info about the Selenium Grid Hub can be found here:
28-
* [https://github.com/SeleniumHQ/selenium/wiki/Grid2](https://github.com/SeleniumHQ/selenium/wiki/Grid2)
29-
* [https://github.com/SeleniumHQ/selenium/wiki](https://github.com/SeleniumHQ/selenium/wiki/Grid2)
1+
### 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)
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## The Selenium Grid Hub
2+
3+
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.
4+
5+
### Running the Selenium Grid Hub
6+
7+
The following commands will work once you've installed seleniumbase, which comes with the seleniumbase console scripts interface.
8+
9+
Grid Hub server controls:
10+
```
11+
seleniumbase grid-hub {start|stop|restart} [OPTIONS]
12+
```
13+
Options:
14+
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
15+
16+
Grid node server controlls:
17+
```
18+
seleniumbase grid-node {start|stop|restart} --hub=[HUB_IP] [OPTIONS]
19+
```
20+
Options:
21+
* ``-v``, ``--verbose`` (Increases verbosity of logging output.)
22+
* ``--hub=[HUB_IP]`` (Specifies the Grid Hub to connect to. Default: "127.0.0.1".)
23+
24+
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)
25+
26+
27+
#### More info about the Selenium Grid Hub can be found here:
28+
* [https://github.com/SeleniumHQ/selenium/wiki/Grid2](https://github.com/SeleniumHQ/selenium/wiki/Grid2)
29+
* [https://github.com/SeleniumHQ/selenium/wiki](https://github.com/SeleniumHQ/selenium/wiki/Grid2)

integrations/selenium_grid/grid_hub.py renamed to seleniumbase/utilities/selenium_grid/grid_hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def main():
4949
file.writelines("\r\n".join(data))
5050
file.close()
5151

52-
from integrations.selenium_grid import download_selenium_server
52+
from seleniumbase.utilities.selenium_grid import download_selenium_server
5353
download_selenium_server.main() # Nothing happens if already exists
5454

5555
if "linux" in sys.platform or "darwin" in sys.platform:

integrations/selenium_grid/grid_node.py renamed to seleniumbase/utilities/selenium_grid/grid_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def main():
6060
file.writelines("\r\n".join(data))
6161
file.close()
6262

63-
from integrations.selenium_grid import download_selenium_server
63+
from seleniumbase.utilities.selenium_grid import download_selenium_server
6464
download_selenium_server.main() # Nothing happens if already exists
6565

6666
if "linux" in sys.platform or "darwin" in sys.platform:

0 commit comments

Comments
 (0)