Get a user-agent string
get_useragentGet a real user-agent for a specified platform and major Chrome version, ensuring it stays consistent with the profile fingerprint. Optionally provide the previous user-agent to avoid duplication.
Instructions
Sample a real user-agent matching a platform and major Chrome version. Keep it consistent with the rest of the profile's fingerprint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | ||
| oldUseragent | No | Previous user-agent, so the API can avoid returning the same one. | |
| browser_version | Yes | Major Chrome version, e.g. 138. |