Set user agent by user agent selector