Skip to content

Commit cd1e2c9

Browse files
committed
added 'reuseUI' caps
1 parent 332dfe5 commit cd1e2c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

java/client/src/org/openqa/selenium/qtwebkit/QtWebKitDriver.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ public class QtWebKitDriver extends RemoteWebDriver
6060
*/
6161
public final static String HYBRID = "hybrid";
6262

63+
/**
64+
* Custom capability.
65+
* WD checks this caps, if it is not specified,
66+
* in case of attempt to create second session we get exception of "one session only",
67+
* otherwise prev session will be terminated without closing windows
68+
* and new session can reuse those windows
69+
*/
70+
public final static String REUSE_UI = "reuseUI";
6371

6472
public QtWebKitDriver(CommandExecutor executor, Capabilities desiredCapabilities,
6573
Capabilities requiredCapabilities) {

0 commit comments

Comments
 (0)