faker.providers.user_agentΒΆ

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

fake.user_agent()
# ('Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8) AppleWebKit/5341 (KHTML, '
#  'like Gecko) Chrome/20.0.823.0 Safari/5341')

fake.linux_processor()
# 'x86_64'

fake.opera()
# 'Opera/8.13.(Windows CE; af-ZA) Presto/2.9.189 Version/10.00'

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

fake.firefox()
# ('Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/2016-01-17 01:10:09 '
#  'Firefox/3.6.16')

fake.safari()
# ('Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1 like Mac OS X; lg-UG) '
#  'AppleWebKit/534.31.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B118 '
#  'Safari/6534.31.4')

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

fake.mac_processor()
# 'PPC'

fake.windows_platform_token()
# 'Windows NT 4.0'

fake.mac_platform_token()
# 'Macintosh; U; PPC Mac OS X 10_10_1'