I have the following problem: I want to map these elements but there are repeated correspondences. I don't want to use xpath!. IF I map using input name or class there will be repeated matches
class CriaScreenCadastro < SitePrism::Page
set_url 'https://quasar-flash-staging.herokuapp.com/#boxCadastro'
#input fields
element :cnpj, :xpath, '//*[@id="boxCadastro"]/div/div[2]/div[1]/div/input'
element :cpf, :xpath, '//*[@id="boxCadastro"]/div/div[2]/div[2]/div/input'
<input name="cnpj" class="sc-fzpisO jHQZJv" value="">
<input name="cpf" class="sc-fzpisO jHQZJv" value="">
end