Skip to content

This is a simple golang wrapper for working uiautomator

License

Notifications You must be signed in to change notification settings

trazyn/uiautomator-go

Repository files navigation

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

About

This is a simple golang wrapper for working uiautomator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages