Skip to content

Commit 3cf7990

Browse files
committed
Merge pull request #1 from browserstack/master
Merging master
2 parents e4d0b5d + 679e796 commit 3cf7990

File tree

20 files changed

+468
-1431
lines changed

20 files changed

+468
-1431
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ buildNumber.properties
1111
*.class
1212
*.swp
1313
.project
14+
local.log
15+

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: java
2+
3+
jdk:
4+
- oraclejdk8
5+
- oraclejdk7
6+
- openjdk6
7+
8+
before_install:
9+
- true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJTVEFDS19BQ0NFU1NfS0VZPUh5VmZydXJvb3dYb041eGhLZEs2Cg==`
10+
11+
after_failure: cat /home/travis/build/browserstack/browserstack-local-java/target/surefire-reports/*

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# browserstack-local-java
2+
3+
[![Build Status](https://travis-ci.org/browserstack/browserstack-local-java.svg?branch=master)](https://travis-ci.org/browserstack/browserstack-local-java)
4+
5+
## API
6+
7+
### Constructor
8+
9+
* `new BrowserStack::Local`: creates an instance of Local
10+
11+
### Methods
12+
13+
* `start(options)`: starts Local instance with options. The options available are detailed below.
14+
* `stop()`: stops the Local instance
15+
* `isRunning()`: checks if Local instance is running
16+
17+
### Options
18+
19+
* `key`: BrowserStack Access Key
20+
* `v`: Provides verbose logging
21+
* `f`: If you want to test local folder rather internal server, provide path to folder as value of this option
22+
* `force`: Kill other running Browserstack Local
23+
* `only`: Restricts Local Testing access to specified local servers and/or folders
24+
* `forcelocal`: Route all traffic via local machine
25+
* `onlyAutomate`: Disable Live Testing and Screenshots, just test Automate
26+
* `proxyHost`: Hostname/IP of proxy, remaining proxy options are ignored if this option is absent
27+
* `proxyPort`: Port for the proxy, defaults to 3128 when -proxyHost is used
28+
* `proxyUser`: Username for connecting to proxy (Basic Auth Only)
29+
* `proxyPass`: Password for USERNAME, will be ignored if USERNAME is empty or not specified
30+
* `localIdentifier`: If doing simultaneous multiple local testing connections, set this uniquely for different processes
31+
* `hosts`: List of hosts and ports where Local must be enabled for eg. localhost,3000,1,localhost,3001,0
32+
* `logfile`: Path to file where Local logs be saved to
33+
* `binarypath`: Optional path to Local binary
34+
35+
36+
## Build
37+
38+
To build gem, `mvn compile`.
39+
40+
41+
## Tests
42+
43+
To run the test suite run, `mvn test`.

browserstack-api/pom.xml

Lines changed: 0 additions & 39 deletions
This file was deleted.

browserstack-api/src/main/java/com/browserstack/local/BrowserStackLocal.java

Lines changed: 0 additions & 224 deletions
This file was deleted.

0 commit comments

Comments
 (0)