Hi,
I want to create C# code to click on reload icon for RC2 Associations
ProjectMaker does not recognize when I click on it.
I tried to use code from CapMonster Wiki where it automatically clicks on the audio icon
I tried to changed the "id" to "recaptcha-reload-button" - this is actual id of reload button
But it does not work. I also tried using "actions designer" but nothing worked.
How can I make a macro (in C#) that clicks on the reload button?
I am new to programming so please go easy on me.
Thanks in advance!
I want to create C# code to click on reload icon for RC2 Associations
ProjectMaker does not recognize when I click on it.
I tried to use code from CapMonster Wiki where it automatically clicks on the audio icon
Код:
// Searching audio button element
Action TryOpenAudioForm = () => {
for (int k = 0; k < tryLoadElement; k++)
{
var audioButton = tab.FindElementByAttribute("div", "id", "recaptcha-audio-button", "regexp", 0);
// if found
if (!audioButton.IsVoid)
{
// press button
audioButton.Click();
tab.WaitDownloading();
break;
}
System.Threading.Thread.Sleep(waitTime); // pause
if (k == (tryLoadElement - 1)) timeout = true;
}
System.Threading.Thread.Sleep(waitTime); // pause
};
But it does not work. I also tried using "actions designer" but nothing worked.
How can I make a macro (in C#) that clicks on the reload button?
I am new to programming so please go easy on me.
Thanks in advance!
Вложения
-
16,9 КБ Просмотры: 367
-
2,5 КБ Просмотры: 373