How to add user-agent to a headless browser

how selenium chrome adds useragent to headless browsers

Mar.19,2021

option = webdriver.ChromeOptions()
option.add_argument('user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36"')
b = webdriver.Chrome(chrome_options=option)

b.delete_cookie('cookie_name') -sharpcookie
b.delete_all_cookies()  -sharpcookie
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34c40-2b6b9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34c40-2b6b9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?