What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To find a mobile UI element in Appium, call your client’s WebDriver element-finding method with a locator strategy and selector during an active Appium session. Which strategies work depends on the driver handling that session, so check that driver’s documentation before using a locator in a test. Here’s an official example for Python on Android with UiAutomator2.

How Appium finds an element

Your client sends a WebDriver command to find one or more elements in the current session. Appium routes most WebDriver endpoints to the active driver, which implements them. That means a locator is interpreted in the context of the driver—not by one universal Appium locator engine.

A driver may support only some standard WebDriver locator strategies, or it may add custom ones. If a request uses a strategy the driver does not allow, it can be rejected. Check the locator-strategy reference for the driver and version your test actually uses before copying an example.

Python example: Android with UiAutomator2 and XPath

The Appium Python quickstart sets up an Android session using UiAutomator2Options and automationName='uiautomator2'. In that session, it finds the Settings screen’s “Apps” element and clicks it:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Yojaro 4Pack Silicone Suction Phone Case Mount, Silicon Adhesive Smartphones Stand Sticky, Hands-Free Phone Accessories Holder for Selfies and Videos (Black & White & Translucent & Light Pink)
  • 【Strong Adsorption】The inspiration of the silicone phone suction case comes from the adhesive force of the octopus. Each suction cup phone mount is 3.15 inches long and 2.17 inches wide, with 24 independent suction cups providing a stronger and more stable suction force, so you don't have to worry about your phone falling during use.
  • 【Back of Phone Suction Grip】Remove the adhesive film on the phone suction cup and stick it on the phone case. You can then fix the phone on any smooth surface, which is very convenient. (The phone suction cup cannot be removed and reused after being attached to the phone case. It is recommended to attach it to a regular phone case, not a valuable one.)
  • 【Widely Used】Our non-slip silicone phone sticky grip mount attaches to almost any flat phone case and make it compatible with common mobile phones such as iPhone and Android.You can shoot, watch videos or video calls in the kitchen, gym, dance studio, bathroom and other places.
  • 【Capture the Wonderful Picture】Whether you are a TikTok creator or just like to share videos and photos, this phone suction cup can help you hands-free capture wonderful videos and photos for sharing with friends.
  • 【Note】You can fix the phone suction cup on a smooth surface such as a mirror or glass. If necessary, wipe the suction cup with a damp cloth to obtain stronger suction. Before releasing your hand, make sure the phone is firmly fixed. (Not applicable to rough walls, wooden surfaces, and other uneven surfaces)
el = self.driver.find_element(by=AppiumBy.XPATH, value='//*[@text="Apps"]')
el.click()

This is a locator call for an already established Python Appium session; it is not a complete session-setup script. The selector uses XPath, and the example is specifically for Android with UiAutomator2. It does not establish that XPath is fastest, most stable, or the right choice for every app or platform.

The Appium Python Client inherits from Selenium’s Python binding. Appium Documentation’s “Write a Test (Python)” page, dated 2025-09-04, states: “The Appium Python client adds the appium: vendor prefix automatically.”

Rank #2
Apple EarPods Headphones with USB-C Plug, Wired Ear Buds with Built-in Remote to Control Music, Phone Calls, and Volume
  • SUPERIOR COMFORT — Unlike traditional circular ear buds, the design of EarPods is defined by the geometry of the ear. Which makes them more comfortable for more people than any other ear bud–style headphones.
  • HIGH-QUALITY AUDIO — The speakers inside EarPods have been engineered to maximize sound output and minimize sound loss, which means you get high-quality audio.
  • BUILT-IN REMOTE — EarPods with USB-C plug also include a built-in remote that lets you adjust the volume, control the playback of music and video, and answer or end calls with a pinch of the cord.
  • COMPATIBILITY — Works with all devices that have a USB-C port.
  • INTEGRATED MICROPHONE — A built-in microphone precisely captures your voice while you’re on the phone, taking a FaceTime call, or summoning Siri — so you’re always heard loud and clear.

Choose a locator for your driver and app

  1. Start with the test setup. Identify the platform, Appium driver, and driver version used by the session.
  2. Check the driver’s locator reference. Confirm that it accepts the strategy you intend to use; do not assume support carries over to another driver.
  3. Choose a selector that identifies the intended element. Consider how directly it points to the target and whether it is likely to survive relevant UI changes.
  4. Measure lookup time in your own setup if speed matters. The official example does not provide a speed comparison, and there is no universal ranking established here.

Those checks help keep a working example in its proper scope: the Android UiAutomator2 XPath call above is not automatically an iOS recipe.

Find one match or collect several

WebDriver defines both findElement and findElements, as well as element-scoped lookup endpoints. In Python, the corresponding client methods include find_element and find_elements. Use the single-element method when the test needs one match; use the plural method when it needs a collection. The driver still determines whether the requested strategy is accepted.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
PopSockets Adhesive Phone Grip, Holder- Black
  • Secure Hold: Our PopSockets adhesive phone grip gives your cell phone a secure, comfortable hold in hand to help prevent drops while texting, taking photos, or scrolling on the go. Designed to stick firmly to most phone cases and devices.
  • Hands-Free Made Easy: Easily turn your PopSocket into a phone stand to prop up your phone anywhere, perfect for watching videos, video calls, or following recipes. A must-have phone holder that keeps your device secure and ready for anything.
  • Compatibility: Works with all phones, tablets, and Kindles. Sticks best to smooth, hard plastic cases and may not adhere to silicone or textured cases. Easily swap your PopTop to change up your style.
  • Black PopSockets: Simple, refined, and endlessly versatile. A timeless essential for any phone.
  • Travel Must-Have for People On the Go: A must-have travel accessory for flights, flying, airports, air travel, airplanes, planes, international trips, cruises, and long travel days. Key gadget for your airport haul, travel accessories and must-haves.
# Python client: Android / UiAutomator2 session, using the same XPath strategy
apps = self.driver.find_elements(by=AppiumBy.XPATH, value='//*[@text="Apps"]')

This collects matches rather than clicking one. The example selector is the same quickstart XPath; it does not prescribe what your test should do if the collection is empty or contains more than one element.

Troubleshoot locator failures

  • The driver rejects the locator strategy: Check the active driver’s allowed strategies and use one it supports. A strategy accepted by a different driver may not be accepted here.
  • The example does not work on your platform: Verify that your session matches the example. The cited call is for Python, Android, UiAutomator2, and XPath; it is not evidence for iOS.
  • The client call is not recognized: Confirm that the Appium client exposes the WebDriver element-finding method you are using, and that your code is using the correct client-language syntax.
  • You are unsure whether to use a single or plural lookup: Choose based on whether the test needs one element or a collection, and account for the result handling your test requires.
  • You need to compare lookup speed or resilience: Measure with your app, driver, and test conditions. The cited sources do not establish a universal fastest or most maintainable strategy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

ScreenshotNeo is a website screenshot API, not an Appium locator engine: it captures website pages, so it does not replace finding native mobile-app elements in an Appium session. For a website or web page you need to capture, one GET request can return a screenshot; see the ScreenshotNeo API documentation.

Best Value
Anteel 2 Pack Silicone Suction Cup Phone Case Mount Double Sided, Hands-Free Silicon Phone Grip with Higher Suction Power for Selfies and Videos, Non Slip Phone Accessories (LightPink&White)
  • 【PKYAA Double Sided Silicone Suction Phone Case Mount】PKYAA With Double Sided 40 Strong and Reliable individual suction cups, PKYAA provides a thicken and upgraded universal silicon suction mount for your phone.
  • 【Friendly to Content Creators】If you are a content creator or an online influencer, you can create videos anywhere with this suction mount completely hands free with this silicone cell phone mount for cases.
  • 【HANDS-FREE & Adhere to Mirrors】This Double Sided silicone suction phone case mount allows you to stick your phone to the mirror easily. No longer holding your phone in one hand to watch video tutorials while making up.
  • 【Strong Grip on the Smooth Surface】You can easily hang your phone anywhere with a smooth surface. All you do is you clean off your phone and smooth surface. It is STURDY and it not only sticks to mirrors, it also sticks to windows, it sticks to refrigerators, tiles and other clean, flat surfaces.
  • 【Press Down Firmly Every 30 Minutes】Use your palm or fingers to press the phone down firmly and check it's secure before letting go. Apply even pressure for a few seconds to allow the suction cup to adhere properly. To maintain the grip and prevent accidental falls, it's a good practice to periodically reapply pressure to the suction cup.
Rank #4
360° Rotating Stainless Steel Phone Tether Tab (Silvery 3-Pack) - Universal for iPhone & Other Phones (Fits Wristbands/Necklaces/Crossbody Straps)
  • [360 ° Flexible Rotation Design] Comes with a rotatable lanyard ring that supports 360 ° free rotation, effectively solving the problem of twisted and tangled lanyards
  • [Wide compatibility] The ultra-thin 0.02-inch design does not block the charging port at all, and both wired and wireless charging can be used directly without removing the pad. Compatible with most smartphones such as iPhone, compatible with various wristbands, lanyards, crossbody straps, and keychains
  • [Durable and Portable Material] Premium rust-resistant stainless steel material with good flexibility, which not only avoids scratching the phone case, but also has excellent anti rust and anti fading performance
  • [Multi scenario Practical] Paired with a lanyard or wristband, hands-free use can be achieved. The phone is within reach and not easily dropped, ideal for daily commuting and outdoor activities. Suitable for full coverage phone cases, does not support half coverage phone cases
  • [Quality Service] If you find any damage or other issues with the product upon receipt, please contact us immediately. We will handle it quickly
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo accepts cookie or consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and responses say which outcome occurred. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.