im using xpath and cant interact with the textbox

35 views Asked by At

Screenshot from inspect element

The absolute XPath is working but I'm trying to use a relative XPath since it's the best practice.

here is the xpath im using:

//*[@id=":r2i:"][@class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-1o6z5ng"][@type="text"]

I'm getting this error every time

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element:
0

There are 0 answers