mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-27 11:10:31 +08:00
feat: check android uiautomator server package installed
This commit is contained in:
@@ -675,7 +675,7 @@ func (d *Device) ListPackages() ([]string, error) {
|
||||
return packages, nil
|
||||
}
|
||||
|
||||
func (d *Device) IsPackagesInstalled(packageName string) bool {
|
||||
func (d *Device) IsPackageInstalled(packageName string) bool {
|
||||
packages, err := d.ListPackages()
|
||||
if err != nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user