Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

CrastyCrap's avatar

Automated click on iframe when it load

Greeting, i want when the user enter the website and iframe loaded completely to automated click on next button i tried to set an interval but it doesn't work and only work when i added it to console why

0 likes
4 replies
CrastyCrap's avatar

@martinbean the project that i am working on the user fill a form so when he have to re fill it again he choose the form that he want to refill and i fill it automatically then submit

Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

Its because of the errror on line 42. Or the error it gave you. Or because you forgot to load the code. Or because the iframe is from another site.. Just guessing

Please or to participate in this conversation.