Posted on February 16th, 2012
When testing access scenarios it is useful to impersonate other browers such as Safari or Mobile Safari from a Windows PC. This can be done with Chrome using the following syntax when launching the app. This example impersonates the mobile safari browser on an iPhone.
chrome.exe –user-agent=”Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3″
There are many “user-agent” strings that can be added to this syntax and a google search should discover the correct one required.
This is particularly useful if testing Netscaler configurations where different web pages appear for different browser types.