Click works in Actions Recording but not in Editor.

crespozooo

Новичок
Регистрация
30.07.2011
Сообщения
20
Благодарностей
23
Баллы
0
I created a simple project which clicks the like button of a youtube comment. However, when I debug the project, it doesnt click the like button (even though in Actions recording it works) - same happens with all the other functions (doubleclick, onmouseover etc) - nothing works, literally.

Any help?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
I haven't gone through the whole process but I see that before some events (mouse over or clicks) the button has coordinates, width, height 0. You have to call some events first, or do a click emulation
 
  • Спасибо
Реакции: crespozooo

crespozooo

Новичок
Регистрация
30.07.2011
Сообщения
20
Благодарностей
23
Баллы
0
Found the issue, it was because i disabled Flash/Java - it wouldnt click because java was disabled.

Is there any way to disable flash without also disabling Java?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
in c# code
JavaScript:
instance.RunActiveX = false;
instance.DownloadActiveX = false;
 
  • Спасибо
Реакции: crespozooo

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)