Socket
Socket
Sign inDemoInstall

github.com/yoyoliyang/uiautomator-go

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    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


Version published

Readme

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

Last updated on 27 Feb 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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