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
Copy file name to clipboardExpand all lines: java/src/org/openqa/selenium/grid/commands/sessionmaps.txt
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,26 +19,29 @@ java -jar selenium.jar \
19
19
20
20
The `JdbcBackedSessionMap` uses JDBC to talk to use any supported database for session map store.
21
21
22
-
The table name used to store sessions is: `sessions_map` It consists of three columns of string datatype: `session_ids`, `session_caps`, `session_uri`
22
+
The table name used to store sessions is: `sessions_map`.
23
+
It consists of three columns of string datatype: `session_ids`, `session_caps`, `session_uri`, `session_stereotype`, `session_start`
23
24
24
25
Prerequisites
25
26
26
27
1. Ensure the appropriate JDBC driver jar is downloaded on the host machine.
27
28
28
-
2. Ensure the "sessions_map" table with varchar "session_ids", "session_caps"and "session_uri" columns is created in the database.
29
+
2. Ensure the "sessions_map" table with varchar "session_ids", "session_caps", "session_uri", "session_stereotype" and "session_start" columns is created in the database.
29
30
30
31
You can create the required table using something similar to:
31
32
32
33
```
33
34
CREATE TABLE sessions_map(
34
35
session_ids varchar(256),
35
36
session_caps varchar(1000),
36
-
session_uri varchar(256)
37
+
session_uri varchar(256),
38
+
session_stereotype varchar(1000),
39
+
session_start varchar(256)
37
40
);
38
41
```
39
42
40
43
Here the size of each column is an arbitrary number. Ensure the datatype and limit matches the selected database. Also, the limit for varchar type should be able to accommodate the
41
-
capabilities json stored in "sessions_caps".
44
+
capabilities json stored in "session_caps" and stereotype json stored in "session_stereotype".
0 commit comments