``expect`` syntax: ``expect(response.body).to have_selector "input[@name='type[name]'][@value='My type']"``