I have a simple sequence, where i open a headless browser (Chrome), and then run certain operations. But click activity (UI Automation/Application/Click) gives me this error:
“A browser started by WebDriver in headless mode does not support this kind of operation.”
Is it really true that we cannot click a button in headless mode?
Headless automation cannot function with some activities which use hardware events (such as Click or Type Into ) in their default state. They must be configured to use the SimulateClick, SimulateType , or SimulateHover properties, or the Send Window Messages property.