I am trying to click on an element within Excel-two different scenarios. This include includes a button embedded into an existing excel (first screenshot) as well as button on the toolbar (second screenshot). When using a click element-when I run the bot sometimes it will recognize the element and sometimes it won’t. When it does not recognize it, the bot will time out. Is there a way around this to ensure it can identify the element each time consistently?
It sees this all as one page:
Can’t identify the variable button: