randomBrowserProfile function
Returns a random BrowserProfile (User-Agent + matching headers) for the
given type.
Implementation
BrowserProfile randomBrowserProfile(UserAgentDevice type) {
final id = _identity(type);
return BrowserProfile(id.ua, _headersFor(id));
}