Im trying to login in a page (url) and selenium its not even been able to send input keys. I tried:
driver.find_element(By.XPATH,'//input[@formcontrolname="ag"]')
I also tried to pick up by ID but its generated dynamically.
Even though the element its there in the page selenium cant find it. I also tried manually using DevTools and no success, something seems to be blocking me from using scripts and I cant find it.
Element Im trying to send input:
<input mask="0000" type="text" formcontrolname="ag" style="background-color: #f0f0f0; border: 0px; width: 4rem; font-size: 14px;" class="ng-untouched ng-pristine ng-invalid dss-form-field__input" id="nhqkx-181131441b-11333-14a03-19d73-1142d11a351af5a">
Edit: There isnt a iframe in devtools console, but I saw this strange tag which I dont know if its blocking me from walking with xpath
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-THV465P"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>