Automating the website , and the click function is not working when clicked on the input tag in javascript code?
document.getElementsByClassName('nameInputTag')[0].click();
<input formcontrolname="name" pinputtext="" type="number" class="nameInputTag">
I am automating the website , but the clicking function on input tag with the type = "text" is not working , it s working for all other tags beside this one ? Can anybody help me , what might be the problem ? I noticed when i click the input with the mouse it works and some html tags comes from the database, for others it is not like that .
Via Active questions tagged javascript - Stack Overflow https://ift.tt/aZxVgCQ
Comments
Post a Comment