I am trying to automate a process where I need to be able to detect whether an image appears or not. This does not appear to have an easy "divid" that a could use.
Copying the html code:

Code:
<img onmouseout="battle.clear_infopane()" onmouseover="battle.set_infopane_effect('Spark of Life', 'Any attack that would normally kill the target leaves it alive with a small amount of HP. The buff is removed when triggered.',
...