faker.providers.user_agentΒΆ

fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5341 (KHTML, like Gecko) '
#  'Chrome/28.0.876.0 Safari/5341')

fake.firefox()
# ('Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_3; rv:1.9.6.20) '
#  'Gecko/2016-10-31 01:42:31 Firefox/3.6.20')

fake.opera()
# 'Opera/9.39.(X11; Linux i686; sa-IN) Presto/2.9.164 Version/12.00'

fake.mac_processor()
# 'U; Intel'

fake.safari()
# ('Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2 like Mac OS X; lt-LT) '
#  'AppleWebKit/533.41.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B116 '
#  'Safari/6533.41.4')

fake.windows_platform_token()
# 'Windows CE'

fake.linux_processor()
# 'i686'

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

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

fake.user_agent()
# ('Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_11_0 rv:4.0; ak-GH) '
#  'AppleWebKit/534.4.6 (KHTML, like Gecko) Version/5.0 Safari/534.4.6')

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