Sha256: 9a1508d1834052a34eba63c50e883fe2c859a184df34397acc31505b0a70509a
Contents?: true
Size: 850 Bytes
Versions: 1
Compression:
Stored size: 850 Bytes
Contents
# frozen_string_literal: true require 'aranha/selenium/session/element' require 'selenium-webdriver' module Aranha module Selenium class Session < ::SimpleDelegator module Find # @param find_element_args [Array] Argujments for +Selenium::WebDriver::Find.find_element+. # @return [Selenium::WebDriver::Element] # @raise [Selenium::WebDriver::Error::NoSuchElementError] def find_element(*find_element_args) element(*find_element_args).find! end # @param find_element_args [Array] Argujments for +Selenium::WebDriver::Find.find_elements+. # @deprecated Use +{#element}.find+ instead. # @return [Selenium::WebDriver::Element, nil] def find_or_not_element(find_element_args) element(*find_element_args).find end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aranha-selenium-0.11.0 | lib/aranha/selenium/session/find.rb |