Appium Server GUI + Appium Inspector to locate UI elements

App Server GUI

Download the Appium Server GUI installation package and complete the installation. After the installation is complete, start it. Click startServer to quickly start the Appium service.

insert image description here

App Inspector

Download the Appium Inspector installation package and complete the installation, start it after the installation is complete, and fill in the following content.

  • Remote Host = 127.0.0.1
  • Remote Port = 4723
  • Remote Path = /wd/hub
  • Desired Capabilities
    {
      "platformName": "android",
      "appium:automationName": "uiautomator2",
      "appium:deviceName": "手机ID"
    }
    

insert image description here

Positioning UI elements

Connect the mobile phone to the computer through adb , click Start Session to open the page element analysis interface.

insert image description here

Guess you like

Origin blog.csdn.net/hekaiyou/article/details/131501524