Giter Site home page Giter Site logo

browserstack-cli's People

Contributors

airportyh avatar dbrans avatar heff avatar kanzure avatar leetreveil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

browserstack-cli's Issues

BrowserStackTunnel.jar needs to be updated

Running browserstack tunnel gives the following error:

There is a new version of BrowserStackTunnel.jar available on server. Please upd
ate from :

http://www.browserstack.com/BrowserStackTunnel.jar

Make browser version, os, and os version always optional.

Here are a few cases that work:

$ browserstack launch safari http://google.com
Launched job 2770009.
$ browserstack launch safari:6 http://google.com
Launched job 2770010.
$ browserstack launch safari:6.0 --os "OS X:Lion" http://google.com
Launched job 2770028.

Here are a few that don't:

$ browserstack launch safari:6 --os "OS X" http://google.com
Validation Failed - `os_version` can't be blank, `os_version` invalid
$ browserstack launch safari:6 --os "OS X:Lion" http://google.com
Validation Failed - `browser_version` invalid

This functionality will depend on logic in browseroverflow to intelligently select a browser based on the supplied spec.

Error on basic functionality

Hi all - thanks for developing this code.

Having trouble getting it working however.

bash-3.2$ browserstack status
Mac sessions limit: 4
Running windows sessions: 0
Total available time: 150000
Used time: 0
Running mac sessions: 0
Windows sessions limit: 8
bash-3.2$ browserstack browsers
undefined
bash-3.2$ browserstack launch firefox:3.6 http://google.com

/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/select_browser.js:43
  return browsers.sort(function(one, other){
                  ^
TypeError: Cannot call method 'sort' of null
    at sort (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/select_browser.js:43:19)
    at Object.selectBrowser (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/select_browser.js:5:14)
    at Object.BrowserStack.launch (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/browserstack.js:76:30)
    at _fun (/opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/cache.js:24:12)
    at /opt/boxen/nvm/v0.8.8/lib/node_modules/browserstack-cli/node_modules/browseroverflow/lib/cache.js:15:10
    at fs.readFile (fs.js:176:14)
    at Object.oncomplete (fs.js:297:15)

Clear that for some reason the browser variable is not being populated therefore the method is bailing out, although apparently the API access works.

No such module error

When i try to execute command browserstack tunnel localhost:80 on my Windows 2008 machine I'm getting an error below:

node.js:468
var b = process.binding('signal_watcher');
^
Error: No such module
at process.startup.processSignalHandlers.process.on.process.addListener (nod
e.js:468:27)
at Command.makeATunnel (F:\Users\antonv\AppData\Roaming\npm\node_modules\bro
wserstack-cli\bin\cli.js:117:11)
at Command.action (F:\Users\antonv\AppData\Roaming\npm\node_modules\browsers
tack-cli\node_modules\commander\index.js:254:8)
at Command.EventEmitter.emit (events.js:115:20)
at Command.parseArgs (F:\Users\antonv\AppData\Roaming\npm\node_modules\brows
erstack-cli\node_modules\commander\index.js:471:12)
at Command.parse (F:\Users\antonv\AppData\Roaming\npm\node_modules\browserst
ack-cli\node_modules\commander\index.js:378:15)
at Object. (F:\Users\antonv\AppData\Roaming\npm\node_modules\brow
serstack-cli\bin\cli.js:141:9)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)

Is there a way to run browserstack setup without the jar download?

In my scenario I'm using testem and browserstack-cli within circleci and am actively downloading the linux64 binaries during the dependency phase. The jar download seems unnecessary in many other cases as well, for instance when I'm using this locally with testem and again, using my mac binaries for the browserstacklocal tunnel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.