faker.providers.user_agentΒΆ

fake.mac_processor()
# u'PPC'

fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.2; it-IT; rv:1.9.0.20) Gecko/2012-03-20 12:54:54 Firefox/10.0'

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

fake.opera()
# u'Opera/9.90.(X11; Linux x86_64; sl-SI) Presto/2.9.190 Version/11.00'

fake.windows_platform_token()
# u'Windows CE'

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

fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows 98; Win 9x 4.90; Trident/5.1)'

fake.chrome()
# u'Mozilla/5.0 (Windows 98) AppleWebKit/5311 (KHTML, like Gecko) Chrome/13.0.852.0 Safari/5311'

fake.linux_processor()
# u'i686'

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

fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; sl-SI) AppleWebKit/531.23.1 (KHTML, like Gecko) Version/3.0.5 Mobile/8B113 Safari/6531.23.1'

Previous topic

faker.providers.ssn

Next topic

Locales

This Page