Answer the question
In order to leave comments, you need to log in
Can't autofill CVV, can't see the field?
There is a field where you need to fill in CVV cards, PY refuses to accept it in any way. Tried searching with by_id, сlass, xpaxh... No luck
cvv = driver.find_element_by_id('cardCvc-input')
cvvk = 000
cvvk.send_keys(cvv)
<form _ngcontent-ng-cli-universal-c1="" class="form-group ng-dirty ng-invalid ng-touched" id="card-panel-form" method="POST" novalidate="" role="form"><input _ngcontent-ng-cli-universal-c1="" autocomplete="off" cccvc="" class="form-control ng-dirty ng-invalid ng-touched" id="cardCvc-input" maxlength="4" minlength="3" name="cardCvc" pattern="[0-9]{4}|[0-9]{3}" required="" type="tel"><label _ngcontent-ng-cli-universal-c1="" class="form-control-placeholder" for="cardCvc-input">CVV *</label></form>
<input _ngcontent-ng-cli-universal-c1="" autocomplete="off" cccvc="" class="form-control ng-dirty ng-invalid ng-touched" id="cardCvc-input" maxlength="4" minlength="3" name="cardCvc" pattern="[0-9]{4}|[0-9]{3}" required="" type="tel">
Answer the question
In order to leave comments, you need to log in
How does your code work? =)
According to the subject, give output what selenium sees.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question