<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Pritesh Patel</title>
    <description>The latest articles on DEV Community by Pritesh Patel (@pritesh1991).</description>
    <link>https://dev.to/pritesh1991</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3649170%2F9388e75c-d6ba-4177-9aed-77dbb0563ad2.jpg</url>
      <title>DEV Community: Pritesh Patel</title>
      <link>https://dev.to/pritesh1991</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pritesh1991"/>
    <language>en</language>
    <item>
      <title>Appium Inspector Was Slowing Me Down - So I Built LocatorLens!</title>
      <dc:creator>Pritesh Patel</dc:creator>
      <pubDate>Wed, 06 May 2026 12:59:13 +0000</pubDate>
      <link>https://dev.to/pritesh1991/appium-inspector-was-slowing-me-down-so-i-built-locatorlens-2a7k</link>
      <guid>https://dev.to/pritesh1991/appium-inspector-was-slowing-me-down-so-i-built-locatorlens-2a7k</guid>
      <description>&lt;p&gt;If you have worked with Appium for mobile automation, you probably know this loop:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start Appium Server&lt;/li&gt;
&lt;li&gt;Open Appium Inspector.&lt;/li&gt;
&lt;li&gt;Configure capabilities for Android or iOS.&lt;/li&gt;
&lt;li&gt;Start a session.&lt;/li&gt;
&lt;li&gt;Wait for inspector to appear&lt;/li&gt;
&lt;li&gt;Inspect one screen.&lt;/li&gt;
&lt;li&gt;Switch app or platform.&lt;/li&gt;
&lt;li&gt;Update capabilities again.&lt;/li&gt;
&lt;li&gt;Repeat.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Appium Inspector&lt;/strong&gt; is powerful, but after doing this again and again, I realized something:&lt;/p&gt;

&lt;p&gt;I was not spending most of my time writing tests.&lt;br&gt;
I was spending too much time preparing to inspect the elements.&lt;/p&gt;

&lt;p&gt;That felt wrong.&lt;/p&gt;

&lt;p&gt;I wanted a simpler flow:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Open the app ➔ Click the desired element ➔ Copy the best locator ➔ Continue writing tests.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That thought eventually became &lt;strong&gt;LocatorLens&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Biggest Gap: Platform Switching Was Too Slow
&lt;/h2&gt;

&lt;p&gt;One of the most painful parts was working across both Android and iOS.&lt;/p&gt;

&lt;p&gt;In the projects I've worked on, I often needed to get the locators for Android and iOS both, inspect both apps, check element attributes, and create platform-specific locators.&lt;/p&gt;

&lt;p&gt;But the workflow was not smooth.&lt;/p&gt;

&lt;p&gt;I had to switch sessions, update capabilities, restart inspection, and mentally keep track of what changed between platforms.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://chromewebstore.google.com/detail/locatorlens/llhionjpfkokofgliiaheadopmdmnadk" rel="noopener noreferrer"&gt;&lt;strong&gt;LocatorLens Chrome extension&lt;/strong&gt;&lt;/a&gt; to inspect &lt;strong&gt;Android and iOS side by side&lt;/strong&gt; without additional configuration.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Inspect elements on Android and iOS simultaneously from Chrome tabs.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;No repeated setup.&lt;br&gt;
No setting up separate inspector sessions for platforms.&lt;br&gt;
No losing context while switching platforms.&lt;/p&gt;

&lt;p&gt;Biggest Gap is filled with this! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr1h2l51vagoe7z380qct.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr1h2l51vagoe7z380qct.png" alt=" " width="722" height="732"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Next Gap: Inspection Felt Too Heavy
&lt;/h2&gt;

&lt;p&gt;Most of the time, the app was already open on my device or simulator.&lt;/p&gt;

&lt;p&gt;But to inspect it, I still had to go through the usual setup flow: start Appium, configure capabilities, create a session, and wait.&lt;/p&gt;

&lt;p&gt;So I asked myself:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What if Appium inspection could feel more like opening DevTools?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is why LocatorLens runs as a &lt;strong&gt;Chrome extension&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;You connect your devices, open the apps, and inspect what is already in front of you -- No more hassle for configurations!!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Next Gap: I Needed to See the App Live
&lt;/h2&gt;

&lt;p&gt;Static screenshots were &lt;strong&gt;never&lt;/strong&gt; enough.&lt;/p&gt;

&lt;p&gt;Screens change.&lt;br&gt;
Lists scroll.&lt;br&gt;
Popups appear.&lt;br&gt;
Elements move.&lt;/p&gt;

&lt;p&gt;So In LocatorLens, I've added a &lt;strong&gt;live screen mirror&lt;/strong&gt;, making inspection feel closer to the real app experience.&lt;/p&gt;

&lt;p&gt;You can see the running app in the browser, click elements directly, and inspect them instantly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwmz296gwp4a007kk4zx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbwmz296gwp4a007kk4zx.png" alt=" " width="796" height="1604"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Next Gap: One Locator Was Not Enough
&lt;/h2&gt;

&lt;p&gt;Getting &lt;em&gt;a&lt;/em&gt; locator is easy.&lt;br&gt;
Getting a &lt;strong&gt;stable&lt;/strong&gt; locator is harder.&lt;/p&gt;

&lt;p&gt;Sometimes &lt;strong&gt;XPath&lt;/strong&gt; works, but it is fragile.&lt;br&gt;
Sometimes &lt;strong&gt;Resource ID&lt;/strong&gt; matches the multiple elements.&lt;br&gt;
Sometimes &lt;strong&gt;accessibility ID&lt;/strong&gt; is perfect.&lt;br&gt;
Sometimes you need UIAutomator2, iOS Class Chain, or NSPredicate.&lt;/p&gt;

&lt;p&gt;So LocatorLens generates multiple locator strategies and ranks them by usefulness.&lt;/p&gt;

&lt;p&gt;It also validates whether a locator is &lt;strong&gt;unique&lt;/strong&gt; before you copy it.&lt;/p&gt;

&lt;p&gt;That means fewer surprises later when the test actually runs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1s12ytorpuri06mzc1al.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1s12ytorpuri06mzc1al.png" alt=" " width="742" height="1434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Final Gap: I Needed Logs at one place
&lt;/h2&gt;

&lt;p&gt;Many times while I was debugging something for Android or iOS, going through hundreds on lines of Logs and making sense in terminal was nightmare, &lt;em&gt;at least for me&lt;/em&gt; and That too separately for both of the platforms&lt;/p&gt;

&lt;p&gt;So, I've combined them at one screen where if you only wanted to see Errors - Just filter it and NO more going through Hundreds of lines just to check errors!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faa094tax5da4hicwhotn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faa094tax5da4hicwhotn.png" alt=" " width="800" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each feature came from a real moment of friction while writing mobile tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  What LocatorLens Became
&lt;/h2&gt;

&lt;p&gt;The Idea for LocatorLens started with a simple frustration:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Appium Inspector was slowing down my automation writing flow.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;But as I kept solving each gap, it became a faster inspection workflow while writing automation with Appium.&lt;/p&gt;

&lt;p&gt;Now the flow feels much simpler:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Open Android and iOS apps in device or simulators.&lt;br&gt;
Inspect both side by side.&lt;br&gt;
Click an element.&lt;br&gt;
View the XML.&lt;br&gt;
Generate locators.&lt;br&gt;
Validate uniqueness.&lt;br&gt;
Copy the best locator.&lt;br&gt;
Continue writing tests.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;LocatorLens&lt;/strong&gt; is heavily inspired by &lt;strong&gt;Appium Inspector&lt;/strong&gt; but its reduces the hurdle which I faced in Appium Inspector.&lt;/p&gt;

&lt;p&gt;It is trying to make the inspection part lighter, faster, and closer to the way automation engineers need it to be.&lt;/p&gt;

&lt;p&gt;If you feel &lt;em&gt;(like I do)&lt;/em&gt; that this tool will help you reduce your time and effort, then welcome to the Club. Install &lt;a href="https://chromewebstore.google.com/detail/locatorlens/llhionjpfkokofgliiaheadopmdmnadk" rel="noopener noreferrer"&gt;LocatorLens Chrome extension&lt;/a&gt; Right now and Give it a try! &lt;/p&gt;

&lt;p&gt;You can check out more info here: &lt;a href="https://locatorlens.com" rel="noopener noreferrer"&gt;https://locatorlens.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know how you feel about this extension!&lt;/p&gt;

</description>
      <category>appium</category>
      <category>chromeextension</category>
      <category>locatorlens</category>
      <category>appiuminspector</category>
    </item>
  </channel>
</rss>
