To override the user agent string from Chrome DevTools:
Open Chrome DevTools, either by right-click and select Inspect. Or, using shortcut keys press Command+Option+C (Mac) or Control+Shift+C (Windows, Linux, Chrome OS).
Press Command+Shift+P (Mac) or Control+Shift+P (Windows, Linux, Chrome OS) to open the Command Menu.
Figure 1. The Command Menu
network conditions, select Show Network conditions, and press Enter to open the Network conditions tab.
In the User agent section disable the Select automatically checkbox.
Select "Googlebot" for the user agent string from the list.
Reload the current page.