faker.providers.user_agentΒΆ

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

fake.firefox()
# ('Mozilla/5.0 (Windows 95; fa-IR; rv:1.9.0.20) Gecko/2018-04-12 16:42:31 '
#  'Firefox/3.6.1')

fake.internet_explorer()
# 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 4.0; 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_8_3'

fake.mac_processor()
# 'U; PPC'

fake.opera()
# 'Opera/8.87.(X11; Linux x86_64; byn-ER) Presto/2.9.170 Version/10.00'

fake.safari()
# ('Mozilla/5.0 (Windows; U; Windows NT 5.2) AppleWebKit/532.36.7 (KHTML, like '
#  'Gecko) Version/4.0.1 Safari/532.36.7')

fake.user_agent()
# ('Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_3; rv:1.9.6.20) '
#  'Gecko/2018-09-04 11:01:13 Firefox/3.6.3')

fake.windows_platform_token()
# 'Windows 95'