Sha256: e47e2562787a17a688b6222e1a28880c6cded8c058256c925d8fa3cae9a23a38
Contents?: true
Size: 594 Bytes
Versions: 10
Compression:
Stored size: 594 Bytes
Contents
module Fluent module Platforms module WatirWebDriver module OrderedList # @return [Fluent::WebElements::ListItem] def [](index) ::Fluent::WebElements::ListItem.new(children[index], :platform => :watir_webdriver) end def list_items web_element.ols(:xpath => list_item_xpath) end def children list_items.find_all { |item| item.parent == web_element } end def items children.size end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems