GitHub Action
LambdaTest Tunnel Action
This action seamlessly integrates LambdaTest Tunnel and run Selenium tests on 2000+ browsers for your locally hosted or privately hosted pages with LambdaTest Selenium Grid.
jobs:
test-tunnel:
runs-on: ubuntu-latest
steps:
# ...
-name: Start Tunnel
uses: LambdaTest/LambdaTest-tunnel-action@v1
id: tunnel
with:
user: ${{ secrets.LT_EMAIL }}
accessKey: ${{ secrets.LT_ACCESS_KEY }}
tunnelName: "testTunnel"
- run: npm test
- name: Export Tunnel Logs for debugging
uses: actions/upload-artifact@v2
with:
name: tunnel_logs
path: ${{ steps.tunnel.outputs.logFileName }}
# ...
Required LambdaTest user email.
Required LambdaTest user Access Key.
We suggest using github secrets for storing LambdaTest access key
Required Tunnel name to uniquely identify your tunnel on LambdaTest platform.
Proxy host if connecting tunnel via proxy.
Proxy port if connecting tunnel via proxy.
Proxy username if connecting tunnel via proxy that has authentication enabled.
Proxy password if connecting tunnel via proxy that has authentication enabled.
Sharing tunnel among team members.
Routes only incoming traffic via the proxy specified.
Routes only outgoing traffic via the proxy specified.
Enable Man in the Middle Mode
Comma separated list of dns servers.
Run tunnel in verbose mode.
Port on which tunnel api server is running.
Name of log file of tunnel.