About Emulating a Bot

If your website has slight differences when visited by people and by bots, you can test the view by bots by adding new Device configuration in Web Development Tools.

On Chrome:

  1. Open Web Development Tools.
  2. Click on "Toggle device toolbar".
  3. Click on "Dimensions" and choose "Edit..."
  4. Click on "Add custom device..."
  5. Choose these parameters:

Device: Googlebot Smartphone

User Agent String: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Finally switch back to the device toolbar and select "Google Smartphone" for testing.

Tips and Tricks Development Developer Experience Chrome