You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removing an attribute from an element appears to not clear a cache somewhere when using JRuby - behaves correctly when using MRI. Currently causing capybara to fail when used with JRuby and nokogiri 1.6.2.1
doc = Nokogiri::HTML("<html><div selected></div></html>")
elements = doc.xpath('//div[@selected]')
puts elements.size() # 1
elements[0].remove_attribute('selected')
puts doc.xpath('//div[@selected]').size() # 0 with MRI - 1 with JRuby
The text was updated successfully, but these errors were encountered:
Removing an attribute from an element appears to not clear a cache somewhere when using JRuby - behaves correctly when using MRI. Currently causing capybara to fail when used with JRuby and nokogiri 1.6.2.1
The text was updated successfully, but these errors were encountered: