Method: Selenium::Client::GeneratedDriver#get_all_buttons

Defined in:
lib/selenium/client/legacy_driver.rb

#get_all_buttonsObject

Returns the IDs of all buttons on the page.

If a given button has no ID, it will appear as “” in this array.



1118
1119
1120
# File 'lib/selenium/client/legacy_driver.rb', line 1118

def get_all_buttons()
    return string_array_command("getAllButtons", [])
end