Feature: Headings Background: Given I am on the static elements page Scenario: Getting the text of headings When I get the text for the "h1" element Then I should see "h1's are cool" When I get the text for the "h2" element Then I should see "h2's are cool" When I get the text for the "h3" element Then I should see "h3's are cool" When I get the text for the "h4" element Then I should see "h4's are cool" When I get the text for the "h5" element Then I should see "h5's are cool" When I get the text for the "h6" element Then I should see "h6's are cool" Scenario Outline: Locating h1s on the Page When I search for the heading1 by "" Then I should see "h1's are cool" Examples: | search_by | | id | | class | | name | | xpath | | index | @multi Scenario Outline: Locating h1 using multiple parameters When I locate the h1 using "" and "" Then the text should be "h1's are cool" Examples: | param1 | param2 | | class | index | | name | index | @locator Scenario: Finding a h1 dynamically When I locate a h1 while the script is executing Then the text should be "h1's are cool" Scenario Outline: Locating h2s on the Page When I search for the heading2 by "" Then I should see "h2's are cool" Examples: | search_by | | id | | class | | name | | xpath | | index | @multi Scenario Outline: Locating h2 using multiple parameters When I locate the h2 using "" and "" Then the text should be "h2's are cool" Examples: | param1 | param2 | | class | index | | name | index | @locator Scenario: Finding a h2 dynamically When I locate a h2 while the script is executing Then the text should be "h2's are cool" Scenario Outline: Locating h3s on the Page When I search for the heading3 by "" Then I should see "h3's are cool" Examples: | search_by | | id | | class | | name | | xpath | | index | @multi Scenario Outline: Locating h3 using multiple parameters When I locate the h3 using "" and "" Then the text should be "h3's are cool" Examples: | param1 | param2 | | class | index | | name | index | @locator Scenario: Finding a h3 dynamically When I locate a h3 while the script is executing Then the text should be "h3's are cool" Scenario Outline: Locating h4s on the Page When I search for the heading4 by "" Then I should see "h4's are cool" Examples: | search_by | | id | | class | | name | | xpath | | index | @multi Scenario Outline: Locating h4 using multiple parameters When I locate the h4 using "" and "" Then the text should be "h4's are cool" Examples: | param1 | param2 | | class | index | | name | index | @locator Scenario: Finding a h4 dynamically When I locate a h4 while the script is executing Then the text should be "h4's are cool" Scenario Outline: Locating h5s on the Page When I search for the heading5 by "" Then I should see "h5's are cool" Examples: | search_by | | id | | class | | name | | xpath | | index | @locator Scenario: Finding a h5 dynamically When I locate a h5 while the script is executing Then the text should be "h5's are cool" Scenario Outline: Locating h6s on the Page When I search for the heading6 by "" Then I should see "h6's are cool" Examples: | search_by | | id | | class | | name | | xpath | | index | @locator Scenario: Finding a h6 dynamically When I locate a h6 while the script is executing Then the text should be "h6's are cool"