This release is about adding step definitions to find elements by their attributes, using their direct attribute for input textbox and dropdown list elements, and changing the main step definitions to find elements by their labels.
Added since Webship-js 1.0.31:
- Added a step definition of selecting the option in the dropdown list field by its attributes
- Added the get element part using its direct attribute format
- Added assertion that element does not exist on the current page by its attribute
- Added assertion that element exists on the current page by its attribute
- Added assertion that input text does not contain a specific value by its attributes
- Added assertion that input text contains a specific value by its attributes
Updates since Webship-js 1.0.31:
Changed since Webship-js 1.0.31:
- Changed the assertion that the element does not contain a specific CSS style
- Changed the command of select the option in the dropdown list field to be by its text label
- Changed assertion that element contains a specific CSS style
- Changed assertion that element does not exist on the current page by its label
- Changed assertion that element exists on the current page by its label
- Changed the assertion that input text does not contain a specific value to be by its label
- Changed assertion that input text contains a specific value to be by its label