added getUserAgentPreview() method