It clicks in action designer but not in PM debugging mode

Harrythespammy

Новичок
Регистрация
28.02.2012
Сообщения
22
Благодарностей
0
Баллы
0
Hi guys,

While designing my template to scrap a big directory, I spent the whole day trying to get zenno click on a "next page" link to get to the next page.... without success...
When I open action designer, everything works fine, I can match the "next page" link with outertext attribute or class attribute/ text search or regex search, no problem. It clicks.

But when I run debugging zenno finds the "next page" link, clicks it ... but nothing happens.
The debugging log file indicate "rise event ..... result ok" no error but no click ont hte link.

Any clue ?

Regards
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Try to use onclick instead of click
Or onmouseover before click.

Or use search by picture

Anton
 
  • Спасибо
Реакции: vodnek

Harrythespammy

Новичок
Регистрация
28.02.2012
Сообщения
22
Благодарностей
0
Баллы
0

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
How about this Harry. What is the link url? Is there a page # in there that you could use. For instance when Yahoo Search Explorer was around, we had the same problem in v3 and what I did was found out the urls were http:///blahblah.com/page=100 and the next page would be 200...etc. So I just created a counter and added 100 to it every time I wanted to go to another page and put the url in the goto page branch. Hope that helps. If not hit me up on Skype and I'll try to help you with it.
 

Harrythespammy

Новичок
Регистрация
28.02.2012
Сообщения
22
Благодарностей
0
Баллы
0
How about this Harry. What is the link url? Is there a page # in there that you could use. For instance when Yahoo Search Explorer was around, we had the same problem in v3 and what I did was found out the urls were http:///blahblah.com/page=100 and the next page would be 200...etc. So I just created a counter and added 100 to it every time I wanted to go to another page and put the url in the goto page branch. Hope that helps. If not hit me up on Skype and I'll try to help you with it.
Unfortunately, no index in the url...

The "next page" link looks like this:

<div class="XXXXXX_navigation_next YYYYYYY_texte" onmouseover="this.style.textDecoration='underline';" onmouseout="this.style.textDecoration='none';">next page</div>
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
send me a link i will check
 
  • Спасибо
Реакции: Harrythespammy

Harrythespammy

Новичок
Регистрация
28.02.2012
Сообщения
22
Благодарностей
0
Баллы
0
Thanks Anton,
I finally got it following your previous idea.

I used onmouseover => onclick => click =>click
on the same element found by actions designer.

Now the bot is dancing from one page to another, scrapping smoothly thousands of fresh updated records... hummm..
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113

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