<input type="text">
<input type="password">
<input type="checkbox">
<input type="button">
<input type="image">
<input type="reset">
<input type="submit">
<input type="radio">
<input type="hidden">
<input type="file">
# Table generated with this code then manually edited (mostly input tags) require 'page-object' type_map = PageObject::Elements.type_to_class tag_map = PageObject::Elements.tag_to_class html_key_map = type_map.merge(tag_map) klass_key_map = Hash.new [] html_key_map.each do |element, klass| klass_key_map[klass] += [element] end puts 'Method | HTML Tags' puts ' --- | ---' klass_key_map.each do |klass, element_array| klass = klass.to_s.split('::').last.gsub(/([a-z])([A-Z])/, '\1_\2').downcase puts "**#{klass}** | #{element_array.join(', ')}" end
There was an error while loading. Please reload this page.