diff --git a/html5.html b/html5.html index 0db91f66..b7c8572a 100644 --- a/html5.html +++ b/html5.html @@ -65,13 +65,14 @@
W3C: https://www.w3schools.com/tags/tag_a.asp
-MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
-click() - Click on link
-getText() - Get link's text
-getRef() - Get link's "ref" attribute
-getUrl() - Get link's "ref" attribute as URL
-getAlt() - Get link's "alt" attribute
+W3C: https://www.w3schools.com/tags/tag_button.asp
+W3C: https://www.w3schools.com/tags/tag_input.asp
+MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
+MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/button
+click() - Click the button
+getText() - Get button text
+is() - Assert action
+assertThat() - Assert action
W3C: https://www.w3schools.com/tags/tag_a.asp
-MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
-click() - Click on link
-getText() - Get link's text
-ref() - Get link's "ref" attribute
-url() - Get link's "ref" attribute as URL
-alt() - Get link's "alt" attribute
+W3C: https://www.w3schools.com/tags/tag_link.asp
+MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
+click() - Follow the link
+getText() - Returns the link text
+ref() - Returns the reference
+url() - Returns the URL
+alt() - Returns the alternate text
+is() - Returns object for work with assertions
+assertThat() - Returns object for work with assertions
label() - Returns label element associated with textfield
getText() - Get textfield's text
Multi-line text input
W3C: https://www.w3schools.com/tags/tag_textarea.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
-clear() - Clear text in textarea
-input(value) - Set textarea with value text. Clear previously entered text
-inputLines(value) - Clear textarea and Input several lines of text in textarea
-addNewLine(value) - Add text in textarea from new line (without clearing previous)
-getLines() - Get lines of text in textarea
-label() - Returns label element assosiated with textarea
-focus() - Just focus cursor to textfield
+setLines(String... lines) - sets lines (text)
+getLines() - returns lines (text) from the text area
+rows() - returns value of rows attribute
+cols() - returns value of cols attribute
+minlength() - returns value of minlength attribute
+maxlength() - returns value of maxlength attribute
+placeholder() - returns value of placeholder attribute
+addNewLine(String line) - add line to the already existing
+is() - returns object for work with assertions
+assertThat() - returns object for work with assertions
Let the user choose one or more files from their device storage
W3C: https://www.w3schools.com/jsref/dom_obj_fileupload.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/file
-setValueAction(value) - Clear and input value
-focus() - Just focus cursor to uploader
-clear() - Clear value in uploader
-label() - Returns label element assosiated with uploader
+uploadFile(String) - Select file to upload
+Image in an HTML page
W3C: https://www.w3schools.com/tags/tag_img.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
-getAlt() - Get image's "alt" attribute
-getSource() - Get image source
-click() - Click on the element
+click() - click on the image
+src() - get value of src attribute
+height() - get value of height attribute
+width() - get value of width attribute
+alt() - get value of alt attribute
+is() - method for building assertions
+assertThat() - method for building
Drop-down list
W3C: https://www.w3schools.com/tags/tag_select.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
-select(value) - Select Element with name from list
-getSelected() - Get name of the selected Element
-getSelectedIndex() - Get index of the selected Element
-isSelectedAction(value) - Verifies selected text with value
-isHidden() - Check is Element hidden
-waitDisplayed() - Waits while Element becomes visible
+select(value) - Select dropdown by value/index
+selected() - Get selected dropdown value
List with multiple options can be selected at once
W3C: https://www.w3schools.com/tags/att_select_multiple.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
-clearAction() - Clear options
-select(values) - Select multiple values
-uncheck(values) - Uncheck only specified options
-areSelected() - Get names of checked options
-isHidden() - Check is Element hidden
-waitSelected(values) - Wait while all options with values selected
-areDeselected() - Get names of unchecked options
+check(String/String.../Enum.../int...) - Select values in multi dropdown
+uncheck(String.../Enum.../int...) - Unselect values in multi dropdown
+selected() - Get selected value by default
+checked() - Get selected values
@@ -239,11 +241,10 @@List with multiple dropdown options
W3C: https://www.w3schools.com/tags/att_select_multiple.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
-expand() - Expand DropDown
-close() - Close DropDown
-getTextAction() - Get first selected option
-select(values) - Select options with values from list
-clear() - Deselect all options
+check(String/String.../Enum.../int...) - Select values in multi dropdown
+uncheck(String.../Enum.../int...) - Unselect values in multi dropdown
+selected() - Get selected value by default
+checked() - Get selected values
@@ -265,10 +266,11 @@List of pre-defined options for input
W3C: https://www.w3schools.com/tags/tag_datalist.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
-expand() - Expand DropDown
-getValue() - Get value of Element
-clearAction() - Clear value
-input(value) - Input text in textfield
+select(String/Enum/int) - Select datalist option by value or index
+selected() - Get selected option value
+values() - Get all option values from datalist
+listEnabled() - Return list of values of enabled options
+listDisabled() - Return list of values of disabled options
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox
click() - Click on checkbox
check() - Set checkbox checked
+check(String) - Set to checked on "true" (case insensitive) or unchecked otherwise
uncheck() - Set checkbox unchecked
-isChecked() - Verify is checkbox checked
-getValue() - Get value of Element
+isSelected() - Verify is checkbox checked
+assertThat() - Assert action checkbox
+is() - Assert action checkbox
W3C: https://www.w3schools.com/tags/att_input_type_checkbox.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox
-check(String... values) - Check only specified values. All other values make unchecked
-check(TEnum... values) - Same as above for values in Enum
-check(int... values) - Same as above but for indexes
-uncheck(int... indexes) - Uncheck only specified values. All other values make unchecked
-uncheck(TEnum... values) - Same as above for values in Enum
-uncheck(int... values) - Same as above but for indexes
-List
check(String... values) - Check only specified values. All other values make unchecked
+check(TEnum... values) - Same as above for values in Enum
+check(int... values) - Same as above but for indexes
+uncheck(int... indexes) - Uncheck only specified values. All other values make unchecked
+uncheck(TEnum... values) - Same as above for values in Enum
+uncheck(int... values) - Same as above but for indexes
+uncheckAll() - Uncheck all checkboxes from checklist
+checkAll() - Check all checkboxes from checklist
+checked() - Get selected checkbox values
+values() - Get checklist values
+listEnabled() - Get enabled checkboxes
+listDisabled() - Get disabled checkboxes
+size() - Get checklist size
+is() - Get select assert
+assertThat() - Get select assert
+has() - Get select assert
+selected() - Get selected checkbox
W3C: https://www.w3schools.com/tags/att_input_type_radio.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/radio
-select(value) - Select Element with value from list
-getSelected() - Get name of the selected Element
-isSelectedAction(value) - Verify checked value
+select(String/int/Enum) - Select radiobutton by value/index
+selected() - Get selected radiobutton value
Defines a color picker
W3C: https://www.w3schools.com/tags/att_input_type_color.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color
-click() - Click on input
-setValue(value) - Set value to Element
-getValue - Get value of Element
-ok() - Click on ok button
+color() - Returns color code in hexadecimal format ("#rrggbb")
+setColor(String) - Set color from string hex representation ("#rrggbb")
+is() - Assert acton color
+assertThat() - Assert acton
W3C: https://www.w3schools.com/tags/att_input_type_range.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range
-sendKeys(value) - Specify value to send
+setVolume(int volume) - Sets the value
+volume() - Returns the value
+max() - Returns the max value
+min() - Returns the min value
+step() - Returns the step value
+is() - Returns object for work with assertions
+assertThat() - Returns object for work with assertions
Represents the progress of a task
W3C: https://www.w3schools.com/tags/tag_progress.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
-getValue() - Get value of Element
+value() - Get current progress value
+max() - Get progressbar maximum possible value
+is() - Various assert actions for Progress bar
+assertThat() - Various assert actions for Progress bar
@@ -410,8 +432,12 @@W3C: https://www.w3schools.com/tags/att_input_type_date.asp
MDN: https://developer.mozilla.org/ru/docs/Web/HTML/Element/Input/date
-setValue(value) - Set value to Element
-getValue() - Get value from Element
+setDateTime(string value) - Sets a date or time
+value() - Returns the set date or time
+min() - Gets attribute with name min
+max() - Gets attribute with name max
+is() - Assertion
+assertThat() - Assertion
W3C: https://www.w3schools.com/tags/att_input_type_month.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/month
-setValue(value) - Set value to Element
-getValue() - Get value from Element
+setDateTime(string value) - Sets a date or time
+value() - Returns the set date or time
+min() - Gets attribute with name min
+max() - Gets attribute with name max
+is() - Assertion
+assertThat() - Assertion
W3C: https://www.w3schools.com/tags/att_input_type_datetime-local.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/datetime-local
-setValue(value) - Set value to Element
-getValue() - Get value from Element
+setDateTime(string value) - Sets a date or time
+value() - Returns the set date or time
+min() - Gets attribute with name min
+max() - Gets attribute with name max
+is() - Assertion
+assertThat() - Assertion
W3C: https://www.w3schools.com/tags/att_input_type_time.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time
-setValue(value) - Set value to Element
-getValue() - Get value from Element
+setDateTime(string value) - Sets a date or time
+value() - Returns the set date or time
+min() - Gets attribute with name min
+max() - Gets attribute with name max
+is() - Assertion
+assertThat() - Assertion
W3C: https://www.w3schools.com/tags/att_input_type_week.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/week
-setValue(value) - Set value to Element
-getValue() - Get value from Element
+setDateTime(string value) - Sets a date or time
+value() - Returns the set date or time
+min() - Gets attribute with name min
+max() - Gets attribute with name max
+is() - Assertion
+assertThat() - Assertion
W3C: https://www.w3schools.com/tags/att_input_type_number.asp
MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number
-setValue(value) - Set value to Element
-getValue() - Get value from Element
+placeholder() - Returns the placeholder text
+value() - Returns the set date or time
+min() - Gets attribute with name min
+max() - Gets attribute with name max
+step() - Returns the step value
+setNumber(String) - Sets the value
+is() - Assertion
+assertThat() - Assertion