Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crossbrowsertesting/cbt-tunnel-java
Java JAR for creating Local Connections to CrossBrowserTesting.com on the command line
https://github.com/crossbrowsertesting/cbt-tunnel-java
Last synced: 3 days ago
JSON representation
Java JAR for creating Local Connections to CrossBrowserTesting.com on the command line
- Host: GitHub
- URL: https://github.com/crossbrowsertesting/cbt-tunnel-java
- Owner: crossbrowsertesting
- Archived: true
- Created: 2015-12-31T17:33:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-17T17:47:46.000Z (almost 9 years ago)
- Last Synced: 2024-08-03T23:23:59.434Z (3 months ago)
- Size: 6.62 MB
- Stars: 2
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cbt-tunnel-java
Java JAR for creating Local Connections to CrossBrowserTesting.com on the command line#####Creates a local connection to CrossBrowserTesting.com via a Java Applet which allows you to test sites behind your firewall or to access web pages that are saved locally on your machine.
In just a few seconds, you can establish a connection which allows you to do live testing, screenshots, or run Selenium scripts against any of the internal sites you have access to.
#####Instructions:
1. Ensure you have the latest Java JRE installed: http://java.com/en/download/
2. Download the cbttunnel.jar to your local machine.
3. Open a console to the directory of the downloaded jar in the previous step.
4. Run the appropriate command below.There are three options for creating a Local Connection:
#####Internal websites:
This directs requests from CBT browsers to your computer to test sites behind your firewall that would otherwise be inaccessible.
java -jar cbttunnel.jar -authkey AUTHKEY
#####Local HTML Files:
This allows you to host static files on your computer that are not currently hosted on a server, as well as routing through your computer to access local or privileged sites.
java -jar cbttunnel.jar -authkey AUTHKEY -dir "path/to/html"#####Proxy Server:
The tunnel still routes through your computer to download site data, but it further directs that connection through a proxy of your choosing (always be wary in choosing a proxy--free and unsecure proxies are known to steal personal data).java -jar cbttunnel.jar -authkey AUTHKEY -proxyip 192.168.1.100 -proxyport 8888
#####Additional Flags:
The -ready switch will touch the file name you pass on the command line when the tunnel is setup to run. This option can be used along with other scripting. When the ready file is touched a script will know when the local connection is up and running.
java -jar cbttunnel.jar -authkey AUTHKEY -ready "/path/to/ready/file"