global

def options_text(node, **opts, &filter_block)

def options_text(node, **opts, &filter_block)
  opts[:wait] = false
  opts[:visible] = false unless node.visible?
  node.all(:xpath, './/option', **opts, &filter_block).map do |o|
    o.text((:all if opts[:visible] == false))
  end
end