We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7959914 commit 0cadcc0Copy full SHA for 0cadcc0
1 file changed
examples/javascript/test/browser/chromeSpecificCaps.spec.js
@@ -23,5 +23,17 @@ suite(function (env) {
23
await driver.get('https://www.google.com');
24
await driver.quit();
25
});
26
+
27
+ it('Keep browser open - set detach to true ', async function () {
28
+ let driver = await env
29
+ .builder()
30
+ .setChromeOptions(options.detachDriver(true))
31
+ .build();
32
33
+ await driver.get('https://www.google.com');
34
35
+ // As tests runs in ci, quitting the driver instance to avoid any failures
36
+ await driver.quit();
37
+ });
38
39
0 commit comments