Does anyone know why this might be happening in HEADLESSCHROME only.
As you can see RF script can find the button and it thinks its in an ENABLED state but when it comes to CLICK ELEMENT its become disabled. If I run this in non-headless mode it runs fine.
I’ll note that the error you are receiving is “ElementClickInterceptedException” and not something like “InvalidElementStateException” which one might expect due to an element being disabled. It is also telling which element is intercepting the click.
This is a good lesson in automation. My tests were working correctly and they discovered failed the button being disabled was because of the browser versions. Although EDGE and Chrome are built on Chromium for some reason a slightly older versions of Chrome the button was being rendered as disabled by default. The same test in latest EDGE worked perfectly. Thanks all for your input.