Hello All,
I'm new to WebAii framework and I've got a question about the Wait class.
I have a scenario where I need to locate a table cell (td). I'm going to locate it by content but the content might be contained directly inside the cell or it might be the content of a child element of the table cell (e.g. a span).
I'm using:
Get<WebAiiHtmlControls.HtmlTableCell>("TextContent=" + textContent, "tagname=td");
The problem is that it times out and raises a System.TimeoutException (because in this instance the text is contained deeper inside a span). In this scenario I just want it to timeout and the Get() method to return null. Is this possible? I don't really want to insert try/catch into my code.
Thanks,
Matt