<?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: Lucy Green</title>
    <description>The latest articles on DEV Community by Lucy Green (@lucy-green).</description>
    <link>https://dev.to/lucy-green</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%2F3948792%2Ff87afe80-7cce-4547-aae8-742cf98586e3.png</url>
      <title>DEV Community: Lucy Green</title>
      <link>https://dev.to/lucy-green</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lucy-green"/>
    <language>en</language>
    <item>
      <title>Testing Geo-Targeted Google Search Results Without a VPN Using Puppeteer</title>
      <dc:creator>Lucy Green</dc:creator>
      <pubDate>Mon, 01 Jun 2026 07:10:29 +0000</pubDate>
      <link>https://dev.to/lucy-green/testing-geo-targeted-google-search-results-without-a-vpn-using-puppeteer-26kl</link>
      <guid>https://dev.to/lucy-green/testing-geo-targeted-google-search-results-without-a-vpn-using-puppeteer-26kl</guid>
      <description>&lt;p&gt;Just discovered a clever way to bypass Google's location redirect when testing local search results. Instead of relying on VPNs, I modify the &lt;code&gt;navigator.geolocation&lt;/code&gt; API in a headless browser. Here's a Puppeteer snippet:&lt;/p&gt;

&lt;p&gt;javascript&lt;br&gt;
const puppeteer = require('puppeteer');&lt;/p&gt;

&lt;p&gt;async function run() {&lt;br&gt;
    const browser = await puppeteer.launch();&lt;br&gt;
    const page = await browser.newPage();&lt;br&gt;
    await page.goto;&lt;br&gt;
    await page.evaluate(() =&amp;gt; {&lt;br&gt;
        navigator.geolocation.getCurrentPosition = (success) =&amp;gt; {&lt;br&gt;
            success({ coords: { latitude: 40.7128, longitude: -74.0060 } });&lt;br&gt;
        };&lt;br&gt;
    });&lt;br&gt;
    // Now search for 'coffee shops' and see local results for NYC&lt;br&gt;
}&lt;br&gt;
run();&lt;/p&gt;

&lt;p&gt;For production testing, I've been using SERPSpur's API which handles location spoofing natively. What's your most creative method for testing geo-targeted search results?&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>spanish</category>
    </item>
  </channel>
</rss>
