How to realize robot framework Interfaceless UI Automation Test

such as the title. The way to see the introduction in an article is to install the phantomjs implementation, as follows:
1. Configure the environment variable
2 after installing phantomjs Go to the folder where the robot file is located and start the robot file
with the command line, but after trying, you still open the browser.
article link: https://www.jianshu.com/p/ba3.

Apr.07,2021

run webdrive in headless mode to start browser. in the background

option = webdriver.ChromeOptions()
option.add_argument("headless")
-sharp driver = webdriver.Chrome(r'C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe',chrome_options=option)
-sharp print(driver.title)
driver = webdriver.Chrome(r'C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe',chrome_options=option)
-sharp driver.get('https://segmentfault.com/q/1010000015379801?utm_source=tag-newest')
driver.get('https://www.baidu.com/')
print(driver.title)
time.sleep(5) -sharp Let the user actually see something!
search_box = driver.find_element_by_name('wd')
search_box.send_keys('ChromeDriver')
search_box.submit()
time.sleep(5) -sharp Let the user actually see something!
driver.quit()

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-1b37ac5-2c0a6.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-1b37ac5-2c0a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?