Selenium Elements Keywords for keycheck

  • as many elements in selenium are javascript generated and dont show in in source page is there any way to do keycheck like this ?
    IF element with id or selector xyz is present then keycheck ---> SUCCESS

  • Admin

    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

Log in to reply