Capybara: Rack driver renders template tag

Created on 17 May 2019  路  2Comments  路  Source: teamcapybara/capybara

Meta

Capybara Version: 3.18.0
Driver Information (and browser if relevant): Rack

Expected Behavior

template tag shouldn't be rendered, i.e. you should be able to select anything, or do anything with elements inside

Actual Behavior

template tag is rendered, and you can select/change elements inside. This is a problem since I don't want find or similar methods to look inside template.

Steps to reproduce

add <template></template> tag in html

Most helpful comment

Fixed via 8faa557c45cfb8b60643d64fbf76542781af71a6 - Thanks for reporting this!

All 2 comments

Fixed via 8faa557c45cfb8b60643d64fbf76542781af71a6 - Thanks for reporting this!

Thank you very much @twalpole !

Was this page helpful?
0 / 5 - 0 ratings