I have an element whose status (in text form) changes depending on the context menu associated with it.
Here is the item:
td id="A" name="status"> StatusStart </td>
With some actions, this may become
td id="A" name="status"> StatusDone </td>
I want to wait for the text to change using waitForCondition.
So far I have tried:
selenium.waitForCondition("selenium.isElementPresent(\"//td[@name='status' and text()='StatusDone']\");", "10000");
but this does not work because the text is not part of the td element.
In JavaScript, I see something like:
function myfunc() { window.getGlobal().addSelectGroup('status'); window.getGlobal().addSelectItem('status','StatusStart');
La la source share