faker.providers.user_agentΒΆ

fake.firefox()
# ('Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_11_3; rv:1.9.6.20) '
#  'Gecko/2014-01-26 12:54:26 Firefox/5.0')

fake.safari()
# ('Mozilla/5.0 (Macintosh; PPC Mac OS X 10_8_7 rv:3.0; mi-NZ) '
#  'AppleWebKit/533.29.6 (KHTML, like Gecko) Version/5.1 Safari/533.29.6')

fake.mac_processor()
# 'PPC'

fake.user_agent()
# ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5332 (KHTML, like Gecko) '
#  'Chrome/16.0.865.0 Safari/5332')

fake.linux_processor()
# 'x86_64'

fake.windows_platform_token()
# 'Windows NT 4.0'

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

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

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

fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# ('Mozilla/5.0 (Macintosh; PPC Mac OS X 10_5_2) AppleWebKit/5360 (KHTML, like '
#  'Gecko) Chrome/33.0.835.0 Safari/5360')

fake.opera()
# 'Opera/9.54.(X11; Linux i686; vi-VN) Presto/2.9.186 Version/12.00'