Forum Discussion
A_Roskoshnyi
Contributor
How about this:
function verifyBrowserScriptErrorWindowAppears()
{
// Verifying an unexpected script error window is appearing before operation and if yes then closing it.
if(Aliases.xmetal.BrowserScriptErrorWindow.WaitProperty("Exists", true, 0))
{
Log.Message("Browser Script error window appeared.. Closing it..");
Aliases.xmetal.BrowserScriptErrorWindow.Close();
}
}
sonya_m
4 years agoSmartBear Alumni (Retired)
Related Content
- 11 months ago
- 2 years ago
Recent Discussions
- 23 hours ago