I have multiple input boxes on a webpage with the following xPaths:
//*[@id="swatch-visual-options-panel"]/table/tbody/tr[1478]/td[4]/input
//*[@id="swatch-visual-options-panel"]/table/tbody/tr[1480]/td[4]/input
//*[@id="swatch-visual-options-panel"]/table/tbody/tr[1481]/td[4]/input
One of which is empty and all the others have text inside them. As you may have guessed, there are 1481 elements with the previous xPath pattern but I only want to locate the empty one.
How do I go about doing this in Python?