# File lib/selenium/rspec/rspec_extensions.rb, line 72 72: def pending_for_browsers(*browser_regexps, &block) 73: actual_browser = selenium_driver.browser_string 74: match_browser_regexps = browser_regexps.inject(false) do |match, regexp| 75: match ||= actual_browser =~ Regexp.new(regexp.source, Regexp::IGNORECASE) 76: end 77: if match_browser_regexps 78: pending "#{actual_browser.gsub(/\*/, '').capitalize} does not support this feature yet" 79: else 80: yield 81: end 82: end