faker.providers.user_agentΒΆ

fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# ('Mozilla/5.0 (Windows NT 5.0) AppleWebKit/5330 (KHTML, like Gecko) '
#  'Chrome/48.0.826.0 Safari/5330')

fake.firefox()
# ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_1; rv:1.9.2.20) Gecko/2014-11-17 '
#  '04:42:32 Firefox/11.0')

fake.internet_explorer()
# 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/3.1)'

fake.linux_platform_token()
# 'X11; Linux x86_64'

fake.linux_processor()
# 'x86_64'

fake.mac_platform_token()
# 'Macintosh; Intel Mac OS X 10_9_2'

fake.mac_processor()
# 'U; Intel'

fake.opera()
# 'Opera/8.36.(X11; Linux i686; shs-CA) Presto/2.9.183 Version/10.00'

fake.safari()
# ('Mozilla/5.0 (Windows; U; Windows NT 6.1) AppleWebKit/531.10.7 (KHTML, like '
#  'Gecko) Version/4.1 Safari/531.10.7')

fake.user_agent()
# ('Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_5 rv:3.0; lb-LU) '
#  'AppleWebKit/532.41.5 (KHTML, like Gecko) Version/5.0.2 Safari/532.41.5')

fake.windows_platform_token()
# 'Windows 98'