Removing comments
This commit is contained in:
parent
5b8a15bae7
commit
2e69cb1911
@ -95,14 +95,7 @@ module Webrat #:nodoc:
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.css_search(element, *searches) #:nodoc:
|
def self.css_search(element, *searches) #:nodoc:
|
||||||
# if Webrat.configuration.parse_with_nokogiri?
|
xpath_search(element, css_to_xpath(*searches))
|
||||||
xpath_search(element, css_to_xpath(*searches))
|
|
||||||
# element.css(*searches)
|
|
||||||
# else
|
|
||||||
# searches.map do |search|
|
|
||||||
# element.search(search)
|
|
||||||
# end.flatten.compact
|
|
||||||
# end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.css_to_xpath(*selectors)
|
def self.css_to_xpath(*selectors)
|
||||||
|
Loading…
Reference in New Issue
Block a user