# Adding User agent

**URL:** <https://forum.katalon.com/t/adding-user-agent/9318>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [February 9, 2018, 7:13am UTC](https://forum.katalon.com/t/adding-user-agent/9318 "2018-02-09T07:13:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ramazan\_Shomahov](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@Ramazan\_Shomahov](https://forum.katalon.com/u/Ramazan_Shomahov)\
**Post date:** [December 6, 2018, 10:14am UTC](https://forum.katalon.com/t/adding-user-agent/9318/3 "2018-12-06T10:14:47Z")

</div>

I managed to fix this issue finally. Below is how to open Chrome with user agent added:  
1. Go to Project/Settings/Desired Capabilities/Custom  
2. Click Add and enter a name for a browser, and click Value;  
3. In the window opened, select ‘Chrome’ as driver name, and click Preference;  
4. In the window opened, enter ‘args’ as name, select ‘List’ as type, and enter click ‘Value’;  
5. In the window opened, enter select String as type, and enter the user agent as value.  
for me its:  
–user-agent=Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Mobile Safari/537.36  
6. To run it, select the new browser created through Custom Capabilities -\> new browser

---

_[View the full topic](https://forum.katalon.com/t/adding-user-agent/9318)._
