Sometimes you find it impossible to locate a specific element, and the right element locator only tells you that this is a Web page view:
Click on the specific elements are not selected, the captain's practice is to go back to the app to point the element, and then return to the location of the page, re-click Device screenshot, so repeated several times, just fine.
Run the first time after the script runs immediately the second time will pop up an error:
At this point you can click Appium Close button to close and reopen (triangle)
But every time you turn off the open after all the trouble, so you can first close, and then open the settings to select the "Override Exiting session", is to rewrite the existence of the session, you can:
Public search "automated test Practice" or scan the QR code below to add attention ~ ~ ~
Appium+python (3) Exception handling