I am facing the challenge of automating an iframe using Selenium Webdriver and need to input a value into a text box. Here is the HTML code:
<input class="ng-pristine ng-empty ng-invalid ng-invalid-required ng-valid-maxlength ng-touched"
id="name" type="text" data-ng-model="$parent.card.name"
maxlength="26" name="cc-name" placeholder="Holder Name" required="">
It appears that the scope is hidden, making it difficult for me to set a value for an angular element within the iframe using Selenium Webdriver. Any suggestions on how I can overcome this issue?