I have added the screenshot I have a group of elements that have the exact same xpath except the span tag.I want to identify the individual input fields, but unable to.
I have tried using contains, with class but unable to attach span to the xpath
Here is what the HTML looks like:
/html/body/div[@id='app']/div/div[@class='LayoutModify_LayoutModify_1Akxb']/main[@class='LayoutModify_main_5aBy3']/section[@class='sub-detail inner ProductDetail_productdetail_bJWN2']/div[@class='ProductDetail_productsphere_kgNGm']/div[@class='ProductDetail_threecol_2zA1n ProductDetail_productsphereleft_2pLZT']/span[4]/div[@class='el-input el-input--medium ProductDetail_productsphereinput_3eVZg']/input[@class='el-input__inner']
/html/body/div[@id='app']/div/div[@class='LayoutModify_LayoutModify_1Akxb']/main[@class='LayoutModify_main_5aBy3']/section[@class='sub-detail inner ProductDetail_productdetail_bJWN2']/div[@class='ProductDetail_productsphere_kgNGm']/div[@class='ProductDetail_threecol_2zA1n ProductDetail_productsphereright_3BrqC']/span[4]/div[@class='el-input el-input--medium ProductDetail_productsphereinput_3eVZg']/input[@class='el-input__inner']
Notice the span[4] and span[15] are the only differences