How do I make a key check with elements



  • I am currently making a Selenium config and I need to make a key check. The only way I can make a key check is by going into inspect element to elements and finding an xpath. How do I make a key check do this?


  • Admin

    You can use the element action, provide the xpath and check if the element exists, it will return True or False, which you can then pass to the keycheck



  • element action > change ID to XPATH > give it a variable
    make a keycheck, change <SOURCE> in the keycheck box to <yourvariable>


Log in to reply