Common functions for all DOM elements
The list of common functions for all DOM elements on the current page can be broken down into the following categories:
Click an element
Send event to element
Set focus to element
Change Element Value
Set inner text and html element
Changing attributes (properties of an element)
Save (take a screenshot) an element
Checking for element existence
Get general properties of an element (number, name, attributes)
Get element specific properties (value, src, alt, href)
Get inner text and html of an element
Get other properties of an element
Getting the coordinates of an element
Getting the dimensions of an element
Emulate keyboard input for an element
Getting information on all elements
Waiting and validating an element on a page
Getting the DOM interface
Getting a list of DOM interfaces
Click (click) an element:
click_by_number- click using number
click_by_name- click using name
click_by_id- click using id
click_by_value- click using value
click_by_alt- click using alt
click_by_src- click using src
click_by_href- click using href
click_by_inner_text- click using inner text
click_by_inner_html- click using internal html
click_by_attribute- click using attribute value
click_by_number_by_form_number- click using the number in the form with the given number
click_by_name_by_form_number- click using the name in the form with the given number
click_by_attribute_by_form_number- click using the attribute value in the form with the specified number
click_by_number_by_form_name- click using the number in the form with the given name
click_by_name_by_form_name- click using the name in the form with the given name
click_by_attribute_by_form_name- click using the attribute value in the form with the given name
click_random- click a random item
Send event to element
send_event_by_number- send event by number
send_event_by_name- send event by name
send_event_by_href- send event by url
send_event_by_inner_text- send an event by inner text
send_event_by_inner_html- send event via internal html
send_event_by_attribute- send event by attribute
Set focus to element
set_focus_by_number- set focus using number
set_focus_by_name- set focus using name
set_focus_by_href- set focus using href
set_focus_by_inner_text- set focus using inner text
set_focus_by_inner_html- set focus using internal html
set_focus_by_attribute- set focus using attribute value
Change the value of an element
set_value_by_number- set a value to an element by its number
set_value_by_name- set a value to an element by its name
set_value_by_attribute- set a value to an element by its attribute
set_value_by_number_by_form_number- set a value to an element by number, in the form with a given number
set_value_by_name_by_form_number- set a value to an element by name, in the form with a given number
set_value_by_attribute_by_form_number- set a value to an element by the value of an attribute, in a form with a given number
set_value_by_number_by_form_name- set a value to an element by number, in a form with a given name
set_value_by_name_by_form_name- set a value to an element by name, in a form with a given name
set_value_by_attribute_by_form_name- set a value to an element by the value of an attribute, in a form with a given name
Set inner text and html element
set_inner_text_by_number- set inner text using number
set_inner_text_by_name- set inner text using name
set_inner_text_by_attribute- set inner text using attribute value
set_inner_html_by_number- set internal html using number
set_inner_html_by_name- set internal html using name
set_inner_html_by_attribute- set internal html using attribute value
Changing attributes (properties of an element)
add_attribute_by_number- add attribute using number
add_attribute_by_name- add attribute using name
add_attribute_by_inner_text- add an attribute using inner text
add_attribute_by_inner_html- add an attribute using internal html
add_attribute_by_attribute- add an attribute using the attribute value
set_attribute_by_number- set attribute value using number
set_attribute_by_name- set attribute value using name
set_attribute_by_inner_text- set attribute value using inner text
set_attribute_by_inner_html- set attribute value using internal html
set_attribute_by_attribute- set attribute value using attribute value
remove_attribute_by_number- remove attribute using number
remove_attribute_by_name- remove attribute using name
remove_attribute_by_inner_text- remove an attribute using inner text
remove_attribute_by_inner_html- remove an attribute using internal html
remove_attribute_by_attribute- remove an attribute using the attribute value
Save (take a screenshot) element
screenshot_by_number- screenshot using number
screenshot_by_name- screenshot using name
screenshot_by_src- screenshot using src
screenshot_by_attribute- screenshot using attribute value
Checking for element existence
is_exist_by_number- check if there is an element with a given number
is_exist_by_name- check if there is an element with the given name
is_exist_by_href- check if there is an element with a given href
is_exist_by_src- check if there is an element with the given src
is_exist_by_alt- check if there is an element with the given alt
is_exist_by_inner_text- check if there is an element with the given inner text
is_exist_by_inner_html- check if there is an element with a given internal html
is_exist_by_attribute- check if there is an element with a given attribute value
is_exist_by_xpath- check if there is an element with the given xpath
Get general properties of an element (number, name, attributes)
get_number_by_name- get a number by name
get_number_by_id- get number by id
get_number_by_src- get number by src
get_number_by_href- get number by src
get_number_by_inner_text- get the number by inner text
get_number_by_inner_html- get number by internal html
get_number_by_attribute- get number by attribute value
get_name_by_number- get name by number
get_attribute_by_number- get attribute value by number
get_attribute_by_name- get the value of an attribute by name
get_attribute_by_src- get attribute value by src
get_attribute_by_inner_text- get the attribute value from the inner text
get_attribute_by_inner_html- get attribute value from internal html
get_attribute_by_attribute- get attribute value by attribute
Get specific properties of an element
get_value_by_number- get value by number
get_value_by_name- get value by name
get_value_by_attribute- get value by attribute value
get_src_by_number- get src by number
get_src_by_name- get src by name
get_alt_by_number- get alt by number
get_alt_by_name- get alt by name
get_href_by_number- get href by number
get_href_by_name- get href by name
get_href_by_inner_text- get href by inner text
Get inner text and html of an element
get_inner_text_by_number- get inner text by number
get_inner_text_by_name- get inner text by name
get_inner_text_by_id- get inner text by id
get_inner_text_by_href- get inner text by href
get_inner_text_by_attribute- get inner text by attribute value
get_inner_html_by_number- get internal html by number
get_inner_html_by_name- get internal html by name
get_inner_html_by_id- get internal html by id
get_inner_html_by_attribute- get internal html by attribute value
Get other properties of an element
is_disabled_by_number- check item availability by number
is_disabled_by_name- check the availability of an element by name
get_all_attributes_by_number- get all attributes of an element by its number
get_all_attributes_by_name- get all attributes of an element by its name
get_all_attributes_by_src- get all attributes of an element by src
get_all_attributes_values_by_number- get all attribute values of an element by its number
get_all_attributes_values_by_name- get all attribute values of an element by its name
get_all_attributes_values_by_src- get all attribute values of an element by src
get_all_events_by_number- get all events of an element by its number
get_all_events_by_name- get all events of an element by its name
get_all_events_by_src- get all events of an element by src
get_numbers_child_by_number- get child element numbers by its number
get_numbers_child_by_name- get numbers of child elements by its name
get_numbers_child_by_id- get numbers of child elements by its id
get_numbers_child_by_attribute- get the numbers of child elements by the value of its attribute
Getting the coordinates of an element
get_x_by_number- get X of the upper left corner of the element by number
get_x_by_name- get X of the upper left corner of the element by name
get_x_by_href- get X of the upper left corner of the element by href
get_x_by_inner_text- get X of the upper left corner of the element by the inner text
get_x_by_inner_html- get X of the upper left corner of the element from the inner html
get_x_by_attribute- get X of the upper left corner of an element by attribute value
get_y_by_number- get Y of the upper left corner of an element by number
get_y_by_name- get Y of the upper left corner of the element by name
get_y_by_href- get Y of the upper left corner of the element by href
get_y_by_inner_text- get Y of the upper left corner of the element by the inner text
get_y_by_inner_html- get Y of the upper left corner of the element from the inner html
get_y_by_attribute- get Y of the upper left corner of an element by attribute value
Getting the dimensions of an element
get_width_by_number- get the width of an element by number
get_width_by_name- get the width of an element by name
get_width_by_src- get the width of an element by src
get_width_by_href- get the width of the element by href
get_width_by_attribute- get the width of an element by attribute value
get_height_by_number- get the height of an element by number
get_height_by_name- get the height of an element by name
get_height_by_src- get the height of an element by src
get_height_by_href- get the height of an element by href
get_height_by_attribute- get the height of an element by attribute value
Emulate keyboard input for an element
send_keyboard_input_by_number- emulates keyboard input to an element with a given number
send_keyboard_input_by_name- emulates keyboard input to an element with a given name
send_keyboard_input_by_inner_text- emulates keyboard input to an element by internal text
send_keyboard_input_by_inner_html- emulates keyboard input to an element using internal html
send_keyboard_input_by_attribute- emulate keyboard input to an element by attribute value
Waiting and checking for an element on the page
wait_element_exist_by_number - wait for an item using the number
wait_element_exist_by_name - wait for an element using the name
wait_element_exist_by_id - wait for an element using id
wait_element_exist_by_inner_text - wait for an element using inner text
wait_element_exist_by_inner_html - wait for an element using internal html
wait_element_exist_by_outer_text - wait for an element using external text
wait_element_exist_by_outer_html - wait for an element using external html
wait_element_exist_by_xpath - wait for an element using its XPath
wait_element_exist_by_attribute - wait for an element using the attribute value
wait_element_exist_by_attribute_by_form_number - wait for an element using an attribute value in a form with a given number
wait_element_exist_by_attribute_by_form_name - wait for an element using an attribute value in a form with a given name
Getting information on all elements
get_count- get the number of items on the page
get_count_by_attribute- get the number of elements on a page with specified attribute values
get_all_numbers_by_inner_text- get numbers of all elements with a given inner text
get_all_numbers_by_inner_html- get the numbers of all elements with a given internal html
get_all_numbers_by_attribute- get numbers of all elements with a given attribute value
get_all_inner_texts- get all inner texts of all elements with the given inner text
get_all_inner_texts_by_attribute- get all internal texts of all elements with a specified value of attributes
get_all_inner_htmls_by_inner_text- get all inner html of all elements with the given inner text
get_all_inner_htmls_by_attribute- get all internal html of all elements with a given attribute value
get_all_attributes_by_inner_text- get all attribute values of all elements with the given inner text
get_all_attributes_by_attribute- get all attribute values of all elements by attribute value
Getting the DOM interface
get_by_number- get DOM interface by number
get_by_name- get DOM interface by name
get_by_id- get DOM interface by id
get_by_inner_text- get DOM interface by inner text
get_by_inner_html- get DOM interface from internal html
get_by_outer_text- get DOM interface from external text
get_by_outer_html- get DOM interface from external html
get_by_href- get DOM interface by href
get_by_alt- get DOM interface by alt
get_by_src- get DOM interface via src
get_by_value- get DOM interface by value
get_by_attribute- get DOM interface by attribute value
get_by_properties- get DOM interface by value of several properties
get_by_xpath- get DOM interface by its XPath
Getting a list of DOM interfaces
get_all- get a list of DOM interfaces to all objects of the current type
get_all_by_number- get list of DOM interfaces by number
get_all_by_name- get a list of DOM interfaces by name
get_all_by_id- get a list of DOM interfaces by id
get_all_by_inner_text- get a list of DOM interfaces by inner text
get_all_by_inner_html- get a list of DOM interfaces by internal html
get_all_by_outer_text- get a list of DOM interfaces by external text
get_all_by_outer_html- get a list of DOM interfaces by external html
get_all_by_href- get a list of DOM interfaces by href
get_all_by_alt- get a list of DOM interfaces by alt
get_all_by_src- get list of DOM interfaces by src
get_all_by_value- get a list of DOM interfaces by value
get_all_by_attribute- get interfaces DOM by attribute value
get_all_by_properties- get interface DOM by specified properties