module RegressyCommon::Selector
Public Instance Methods
select_option_by_text(how, what, content)
click to toggle source
# File lib/regressy_common/selector.rb, line 3 def select_option_by_text (how, what, content) element = @driver.find_element(how, what) Selenium::WebDriver::Support::Select.new(element).select_by(:text, content) end