# Steps

[<< back](README.md)

List of all predefined steps

## Navigation Steps

* Then I navigate to "{url}"
* Then I navigate back
* Then I navigate forward
* Then I refresh page

## Click Steps

* When I click on element having (id|name|class|xpath|css) "{element}"
* When I click on link having text "{text}"
* When I double click on element having (id|name|class|xpath|css) "{element}"
* When I click on element having (id|name|class|xpath|css) "{element}" and text "{text}"

## Assertion Steps

* Then element having (id|name|class|xpath|css) "{element}" should have text as "{text}"
* Then element having (id|name|class|xpath|css) "{element}"  should not have text as "{text}"
* Then element having (id|name|class|xpath|css) "{element}" should have partial text as "{text}"
* Then element having (id|name|class|xpath|css) "{element}" should not have partial text as "{text}"
* Then element having (id|name|class|xpath|css) "{element}" should have attribute "{attribute}" with value "{value}"
* Then element having (id|name|class|xpath|css) "{element}" should have attribute "{attribute}" with partial value "{value}"
* Then element having (id|name|class|xpath|css) "{element}" should not have attribute "{attribute}" with value "{value}"
* Then element having (id|name|class|xpath|css) "{element}" should not have attribute "{attribute}" with partial value "{value}"
* Then element having (id|name|class|xpath|css) "{element}" should be enabled
* Then element having (id|name|class|xpath|css) "{element}" should be present
* Then element having (id|name|class|xpath|css) "{element}" should not be present
* Then element having (id|name|class|xpath|css) "{element}" should not be exist
* Then element having (id|name|class|xpath|css) "{element}" should be checked
* Then element having (id|name|class|xpath|css) "{element}" should be unchecked
* Then link having text "{text}" should be present
* Then link having text "{text}" should not be present
* Then link having partial text "{text}" should be present
* Then link having partial text "{text}" should not be present
* Then option "{option}" by text from dropdown having (id|name|class|xpath|css) "{element}" should be selected
* Then option "{option}" by value from dropdown having (id|name|class|xpath|css) "{element}" should be selected
* Then option "{option}" by text from dropdown having (id|name|class|xpath|css) "{element}" should be unselected
* Then option "{option}" by value from dropdown having (id|name|class|xpath|css) "{element}" should be unselected
* Then radio button having (id|name|class|xpath|css) "{element}" should be selected
* Then radio button having (id|name|class|xpath|css) "{element}" should be unselected
* Then I expect to see "{text}" on page

## Input Steps

* When I enter "{value}" into input field having (id|name|class|xpath|css) "{element}"
* When I clear input field having (id|name|class|xpath|css) "{element}"