Huge news!Announcing our $20M Series A led by Andreessen Horowitz.Learn more
Socket
Socket
Log inDemoInstall

github.com/yoyoliyang/uiautomator-go

Package Overview
Dependencies
0
Maintainers
0
Issues
File Explorer

github.com/yoyoliyang/uiautomator-go

* https://github.com/openatx/uiautomator2#app-management * Device api related https://github.com/openatx/uiautomator2#retrieve-the-device-info * Gesture interaction with the device https://github.com/openatx/uiautomator2#gesture-interaction-with-the-device * https://github.com/openatx/uiautomator2#input-method * Screen api related https://github.com/openatx/uiautomator2#screen-related * Selector is a handy mechanism to identify a specific UI object in the current window. https://github.com/openatx/uiautomator2#selector * https://github.com/openatx/uiautomator2#toast * https://github.com/openatx/uiautomator2#watcher

    v1.0.6

Version published
Maintainers
0

Readme

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

Last updated on 27 Feb 2019

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install
SocketSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc