On Tuesday, October 1, 2013 11:45:26 PM UTC+2, Dave Hunt wrote:
> It was necessary for the Eideticker CI system that I'm working on to 
> 
> have a way to connect to a WiFi network, and I didn't want to add 
> 
> complexity to the various scripts that have this prerequisite. I 
> 
> therefore put together a simple command line tool for interfacing with 
> 
> Gaia. I've been meaning to do this for some time as it helps with both 
> 
> debugging and demonstrating the power of Marionette.
> 
> 
> 
> It's recently been added alongside the gaiatest package in the main Gaia 
> 
> repository [1]. It can be installed using:
> 
> 
> 
> $ easy_install gaiatest
> 
> 
> 
> Or
> 
> 
> 
> $ pip install gaiatest
> 
> 
> 
> Or by cloning the Gaia repository and running the following from 
> 
> tests/python/gaia-ui-tests:
> 
> 
> 
> $ python setup.py develop
> 
> 
> 
> Here's an usage example, which would unlock the screen, set the 
> 
> brightness to 100%, connect to a network, and launch the Settings app:
> 
> 
> 
> $ gcli unlock
> 
> $ gcli setsetting screen.brightness 1
> 
> $ gcli connectwifi MozillaGuest
> 
> $ gcli launchapp Settings
> 
> 
> 
> Any/all feedback is welcomed.
> 
> 
> 
> [1] 
> 
> https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/gcli.py
> 
> 
> 
> Thanks,
> 
> Dave

Nice!
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to