mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
URLs can now be opened.
This commit is contained in:
@@ -197,6 +197,13 @@ module.exports = function ControlServiceFactory(
|
||||
this.stopLogcat = function() {
|
||||
return sendTwoWay('logcat.stop')
|
||||
}
|
||||
|
||||
this.openBrowser = function(browser, url) {
|
||||
return sendTwoWay('browser.open', {
|
||||
url: url
|
||||
, browser: browser.id
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
controlService.create = function(target, channel) {
|
||||
|
||||
Reference in New Issue
Block a user