Selenium Elements Keywords for keycheck
MadmanDev last edited by
IF element with id or selector xyz is present then keycheck ---> SUCCESS
You have to use 2 blocks:
ELEMENTACTION that checks if an element Exists -> spits out "true" inside a variable of your choice
KEYCHECK between that variable and the word "true"
Otherwise you could use BROWSERACTION DomToSource and check normally using
<SOURCE>in the keycheck block
Uomo last edited by Uomo
@Ruri using the BrowserAction DomToSource i dont find any word from Source to be use in keycheck block and using ElementAction block i xpath an element but dont know how to check if element Exists. any help?
Uomo last edited by
This post is deleted!
Br4uN last edited by
@Uomo This could be an option
ELEMENTACTION XPath "" WaitForElement -> VAR "ELEMENTKEY" KEYCHECK KEYCHAIN Success OR KEY "<ELEMENTKEY>" Exists