Header Ads

WHAT ARE THE SELENIUM COMMON COMMANDS?

  • open : Opens a page using a URL. 
  • click/clickAndWait  : Performs a click operation, and optionally waits for a new page to load. 



  • verifyTextPresent  : Verifies expected text is somewhere on the page. 


  • verifyElementPresent : Verifies an expected UI element, as defined by its HTML tag, is present on the page. 
  • verifyText : Verifies expected text and it’s corresponding HTML tag are present on the page. 
  • verifyTable : Verifies a table’s expected contents. 



  • waitForPageToLoad : Pauses execution until an expected new page loads. Called automatically when clickAndWait is used. 
  • waitForElementPresent : Pauses execution until an expected UI element, as defined by its HTML tag, is present on the page.



    No comments


    What would you like to add in my list? I look forward to reading your comments below.



    Powered by Blogger.