I am having a similar issue with this keyword.
Currently I am using Selenium2Library, and by default it will grab a screenshot every time a keyword fails.
I am using Run Keyword And Ignore Error to close an advertisement overlay from a web page, and it is randomly displayed as it is externally referenced, out of our team's control.
So far it works okay, except that there are unnecessary screenshots if the overlay is not displayed, and it is cluttering our output folder.
Can anyone give the better way to approach this?
Thanks and regards,