selenium tag code example

Example 1: what are the tags in selenium

Tags are keywords helps us group our tests and create running 
structure for our testing suite.
 WE can run specific scenarios, or exclude specific scenarios.
    ---- We have 3 keyword in Cucumber for to use tags:
    
   1- OR: if we want to run all the listed tests we use or
         
   2- AND: we want the scenario/feature to have all of the given tags to be ran.
           
   3- NOT: basically if we want to exclude any test with a specific @tag given, 
        we provide it after "not" keyword. Those scenarios will not be ran.

Example 2: tags in selenium

Tags are keywords helps us group our tests and create running 
structure for our testing suite.
 WE can run specific scenarios, or exclude specific scenarios.
    ---- We have 3 keyword in Cucumber for to use tags:
    
   1- OR: if we want to run all the listed tests we use or
         
   2- AND: we want the scenario/feature to have all of the given tags to be ran.
           
   3- NOT: basically if we want to exclude any test with a specific @tag given, 
        we provide it after "not" keyword. Those scenarios will not be ran.

Example 3: selenium select element by id

driver.findElement(By.id("ui-datepicker-div"));