You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is high-performance scalable implementation of Selenium Grid (hub),
3
+
> ######What is Selenium-Grid?
4
+
>Selenium-Grid allows you run your tests on different machines against different browsers in parallel. That is, running multiple tests at the same time against different machines running different browsers and operating systems. Essentially, Selenium-Grid support distributed test execution. It allows for running your tests in a distributed test execution environment.
3
5
4
6
## Features
5
7
* One session per one node, no more no less😺
@@ -25,7 +27,7 @@ This is high-performance scalable implementation of Selenium Grid (hub),
25
27
26
28
### Run test
27
29
1. Try create session, such as `curl -X POST http://127.0.0.1:4444/wd/hub/session -d '{"desiredCapabilities":{"browserName": "firefox"}}'`
28
-
1. If your something similar with `{"state":null,"sessionId":"515be56a...` all right! If not, submit [issue](https://github.com/qa-dev/jsonwire-grid/issues/new)
30
+
1. If you see something similar with `{"state":null,"sessionId":"515be56a...` all right! If not, submit [issue](https://github.com/qa-dev/jsonwire-grid/issues/new)
29
31
30
32
31
33
## Configuration
@@ -35,10 +37,10 @@ This is high-performance scalable implementation of Selenium Grid (hub),
35
37
### DB - Configuration of storage.
36
38
##### `db.implementation` - Select your favorite db, or local storage.
37
39
Now support's: `mysql`, `local`.
38
-
>Note: Local (in-memory) storage not support single session storagen between grid-instances.
40
+
>Note: Note: Local (in-memory) storage does not support common session storage between grid-instances.
39
41
##### `db.connection` - DSN for your db
40
42
*`mysql` - example `db_user:db_pass@(db_host:3306)/db_name?parseTime=true` (parseTime=true - required option)
41
-
*`local` - omit this property, because every instance have own in-memory storage
43
+
*`local` - omit this property, because every instance have its own in-memory storage
42
44
43
45
### Statsd - Configuration of metrics.
44
46
##### `statsd.host` - Host of statsd server.
@@ -51,21 +53,21 @@ Now support's: `mysql`, `local`.
51
53
##### `grid.client_type` - Type of used nodes.
52
54
*`selenium` - [http://www.seleniumhq.org/]()
53
55
*`wda` - [agent](https://github.com/qa-dev/WebDriverAgent) for [WDA](https://github.com/qa-dev/WebDriverAgent)
54
-
##### `grid.port` - grit will run on this port.
56
+
##### `grid.port` - grid will run on this port.
55
57
##### `grid.busy_node_duration` - max session lifetime, when timeout was elapsed grid will kill the session.
56
-
##### `grid.reserved_node_duration` - max timeout between send request `POST /session` and opening the browser window, if. (Deprecated will renamed)
58
+
##### `grid.reserved_node_duration` - max timeout between send request `POST /session` and opening the browser window. (Deprecated will renamed)
57
59
##### `grid.strategy_list` - list of strategies, if grid not able create session on first strategy it go to next, until list ends. [Read more about strategies.](#strategy-list)
58
60
59
61
### Strategy list
60
62
##### `type` - [type of strategy.](#types-of-strategies)
61
-
##### `limit` - max count active nodes of this strategy. Unlimited if equals `0`. Dependent of strategy [type](#types-of-strategies)
62
-
##### `params` - object describes available nodes `ex. docker config, kubernetes config, etc.`. Dependent of strategy [type](#types-of-strategies)
63
-
##### `node_list` - list of objects describes available nodes.
64
-
##### `node_list.[].params` - list of objects describes available nodes `ex. image_name, etc.`. Dependent of strategy [type](#types-of-strategies)
63
+
##### `limit` - max count of active nodes on this strategy. Unlimited if equals `0`. Dependent on strategy [type](#types-of-strategies)
64
+
##### `params` - object describes available nodes `ex. docker config, kubernetes config, etc.`. Dependent on strategy [type](#types-of-strategies)
65
+
##### `node_list` - list of objects describing available nodes.
66
+
##### `node_list.[].params` - list of objects describing available nodes `ex. image_name, etc.`. Dependent on strategy [type](#types-of-strategies)
65
67
##### `node_list.[].capabilities_list` - array of available capabilities objects. `ex. [{"foo: "bar"}, {"foo: "baz", "ololo": "trololo"}]`
66
68
67
-
### Types of strategies
68
-
##### `persistent` - working with registered nodes, same as original selenium grid.
69
+
### Types of strategy
70
+
##### `persistent` - using externally started nodes, same as original selenium grid.
69
71
*`limit` - omit this property, its always equals `0`.
70
72
*`node_list` - omit this property.
71
73
##### `kubernetes` - on-demand nodes in kubernetes cluster.
0 commit comments