I keep trying to use sendkeys on an element but it keeps saying: "selenium.common.exceptions.ElementNotInteractableException: Message: Element is not visible".
The HTML code is:
<input class="form-control inspectletIgnore ng-pristine ng-untouched ng-valid-email-not-match ng-empty ng-valid-email ng-invalid ng-invalid-required" id="email" ng-disabled="ad.isEditMode" required="" name="Email" ng-model="ad.Email.value" type="email">
I've tried to locate element by different XPaths:
//*[@id="email"] | //input[@ng-model = 'ad.Email.value']
Also tried to use JavaScript:
document.getElementById('email').value='[email protected]'
None of them working. Any advice how to handle this? It's a big headache...
print(len(driver.find_elements_by_id("email"))). Is it1?