How to change/update the useragent without closing the browser?

Hello, browser - chrome
Need open-update the UserAgent on the iPhone, but here in the Internet info does not found.
June 5th 19 at 21:13
1 answer
June 5th 19 at 21:15
Also looking for this question, but never found the answer. Most likely in any way(by selenium)

The only thing that helped it save cookies, close browser, open new and put the same cookies.
+ and make - terrance.Bechtelar commented on June 5th 19 at 21:18
I probably will with extensions - terrance.Bechtelar commented on June 5th 19 at 21:21

Find more questions by tags BrowsersPythonSelenium