Skip to content

Commit 9694cf2

Browse files
eyalyPaloma OliveiraAlex Plischke
authored
Update start-session.md (#2612)
* Update start-session.md Amend the doc for a workaround how to use the tunnel with vUSB --------- Co-authored-by: Paloma Oliveira <[email protected]> Co-authored-by: Alex Plischke <[email protected]>
1 parent 2a34ec0 commit 9694cf2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/dev/cli/virtual-usb/start-session.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,15 @@ Specify a proxy password to be set on the device.
109109
<div className="cli-desc">
110110
<p><small>| OPTIONAL | STRING |</small></p>
111111

112-
The name of an active [Sauce Connect](/secure-connections/sauce-connect/) tunnel to use for secure connectivity to the Sauce Labs platform.
112+
Specifies the name of an active [Sauce Connect](/secure-connections/sauce-connect/) tunnel to use for secure connectivity to the Sauce Labs platform.
113+
Use the `--tunnelIdentifier` option with the tunnel identifier in the format:
114+
```java title="tunnel identifier format"
115+
--tunnelIdentifier tunnel-identifier:<tunnel-name>,<tunnel-owner>
116+
```
113117

114118
:::note Identifying a Tunnel
115-
The value expected here is the value shown under the **Tunnel Name** column on the Sauce Labs Tunnels page, not the Tunnel ID numerical value.
119+
- `tunnel-name`: The value expected here is the value shown under the **Tunnel Name** column on the Sauce Labs Tunnels page, not the Tunnel ID numerical value.
120+
- `tunnel-owner`: The name of the tunnel owner. This is the value shown under the **Owner** column on the Sauce Labs Tunnels page.
116121
:::
117122

118123
</div>
@@ -141,5 +146,5 @@ java -jar virtual-usb-client.jar startSession \
141146
--deviceName iPhone_XS \
142147
--serverHost http://127.0.0.1 \
143148
--serverPort 8080 \
144-
--tunnelIdentifier my-tunnel
149+
--tunnelIdentifier tunnel-identifier:my-tunnel,my-owner
145150
```

0 commit comments

Comments
 (0)