Skip to contents

user agent methods For instance mac_processor, user_agents, chrome and firefox user agents.

Value

UserAgentProvider object.

Super classes

charlatan::BareProvider -> charlatan::BaseProvider -> UserAgentProvider

Methods

Inherited methods


Method mac_processor()

a mac processor

Usage

UserAgentProvider$mac_processor()


Method linux_processor()

a linux processor

Usage

UserAgentProvider$linux_processor()


Method user_agent()

a random user agent string

Usage

UserAgentProvider$user_agent()


Method chrome()

a chrome user agent string

Usage

UserAgentProvider$chrome(
  version_from = 13,
  version_to = 63,
  build_from = 800,
  build_to = 899
)

Arguments

version_from

(integer) minimum version

version_to

(integer) maximum version

build_from

(integer) minimum build

build_to

(integer) maximum build


Method firefox()

a firefox user agent string

Usage

UserAgentProvider$firefox()


Method safari()

a safari user agent string

Usage

UserAgentProvider$safari()


Method opera()

an opera user agent string

Usage

UserAgentProvider$opera()


Method internet_explorer()

an internet explorer user agent string

Usage

UserAgentProvider$internet_explorer()


Method windows_platform_token()

a windows platform token

Usage

UserAgentProvider$windows_platform_token()


Method linux_platform_token()

a linux platform token

Usage

UserAgentProvider$linux_platform_token()


Method mac_platform_token()

a mac platform token

Usage

UserAgentProvider$mac_platform_token()


Method clone()

The objects of this class are cloneable with this method.

Usage

UserAgentProvider$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.