- Mar 22, 2013
- 8,706
- 10,271
I have the following script:
It's very simple. The script goes to a page. It opens a Youtube Channel in a new tab. It clicks to Subscribe. It closes the tab.
The problem is the Clicking the Subscribe button. It simply won't click it. I tried all the Recording Modes Firefox iMacros have to offer. Nothing works.
However, I know for a fact my code works. I use the same code for many other sites, and it works perfectly. But for some reason, on this one site, something is wrong. It's like the site I'm opening the channels from somehow negatively affects iMacros, not allowing them to click the subscribe button.
And by the way, I also had the same problem on another one site, except it was for doing Twitter retweets. How I "resolved" it was by chopping up the script in 2 parts. One script opens the page, then it's chained/it jumps to the other script, which clicks the retweet button. But this is a very nasty solution. I ended up having to make 20 mini-scripts and chaining them all together in order to get it working the way I wanted.
Now I would like to figure out why this happens, and how to resolve it. Can anyone help?
Thanks
Code:
URL GOTO=SOME LINK
WAIT SECONDS={{!VAR1}}
TAG POS=1 TYPE=A ATTR=TXT:Subscribe
WAIT SECONDS={{!VAR1}}
TAG POS=1 TYPE=BUTTON ATTR=TXT:SubscribeSubscribedUnsubscribe
WAIT SECONDS={{!VAR1}}
TAB T=1
TAB CLOSEALLOTHERS
WAIT SECONDS={{!VAR2}}
It's very simple. The script goes to a page. It opens a Youtube Channel in a new tab. It clicks to Subscribe. It closes the tab.
The problem is the Clicking the Subscribe button. It simply won't click it. I tried all the Recording Modes Firefox iMacros have to offer. Nothing works.
However, I know for a fact my code works. I use the same code for many other sites, and it works perfectly. But for some reason, on this one site, something is wrong. It's like the site I'm opening the channels from somehow negatively affects iMacros, not allowing them to click the subscribe button.
And by the way, I also had the same problem on another one site, except it was for doing Twitter retweets. How I "resolved" it was by chopping up the script in 2 parts. One script opens the page, then it's chained/it jumps to the other script, which clicks the retweet button. But this is a very nasty solution. I ended up having to make 20 mini-scripts and chaining them all together in order to get it working the way I wanted.
Now I would like to figure out why this happens, and how to resolve it. Can anyone help?
Thanks