I'm trying to find an input element in Selenium with Python.
I can't find it because the input is inside of an iframe.
I have try to switch in that iframe but I don't have an ID of iframe.
below the code:
<iframe sandbox="allow-scripts allow-same-origin" class="credit-card-iframe-cvv mt1 u-full-width" src="https://.........." frameborder="0" scrolling="no"></iframe>
and this is the code of the input:
<input type="tel" id="cvNumber" tabindex="0" data-shortname="cvv" maxlength="4" placeholder="XXX" class="mod-input ncss-input pt2-sm pr4-sm pb2-sm pl4-sm" autocomplete="off" value="">
I don't know how to switch because there isn't the ID of the iframe.
I need to write inside of the input the CVV code with send keys.