🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/trazyn/uiautomator-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/trazyn/uiautomator-go

v1.0.6
Source
Go
Version published
Created
Source

This is a simple golang wrapper for working uiautomator.

Setup

To install this library, simple:

go get -u github.com/trazyn/uiautomator-go

Import the package:

import ug "github.com/trazyn/uiautomator-go"

Quick start

First, let yours mobile and PC join the same network.

ua := ug.New(&ug.Config{
    Host: "10.10.20.78",
    Port: 7912,
})

ua.Unlock()

// Show toast
toast := ua.NewToast()
toast.Show("hallo world", 10)

https://github.com/openatx/uiautomator2#basic-api-usages

FAQs

Package last updated on 27 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts