- Регистрация
- 21.08.2013
- Сообщения
- 249
- Благодарностей
- 12
- Баллы
- 18
Let's say I have a page http://example.com/page1 and from this page I click on a link that will load http://example.com/page2. If I search this last page for certain elements using Data - Parse result -> my_regex I get some elements from http://example.com/page1.
If I manually check the source code of http://example.com/page2 and apply the same my_regex I don't see the elements from the 1st page but only elements from the 1st page, as it should.
Moreover, if I wait 2-3 minutes or so and then run again that Data - Parse result -> my_regex action I correctly get only the elements from the 2nd page, as it should.
Example:
Each http://example.com/page1 and http://example.com/page2 have 10 div elements with class AmazingClass
1. On http://example.com/page1 I get 10 div elements with class AmazingClass
2. After loading the 2nd page http://example.com/page2 I get 20 div elements with class AmazingClass (10 from 1st page and 10 from 2nd page)
3. I check the current source of my 2nd page and apply my search regex and find only the last 10 div elements.
4. If I run again Data - Parse result -> my_regex action I still get 20 elements.
5. If I wait 2-3 minutes and run again Data - Parse result -> my_regex action I correctly get only 10 div elements.
It seems like zennoposter takes some time before actually refreshing the current DOM.
For now, I can set a 3 min pause before checking the 2nd page DOM but it's not what I need. Any suggestions?
If I manually check the source code of http://example.com/page2 and apply the same my_regex I don't see the elements from the 1st page but only elements from the 1st page, as it should.
Moreover, if I wait 2-3 minutes or so and then run again that Data - Parse result -> my_regex action I correctly get only the elements from the 2nd page, as it should.
Example:
Each http://example.com/page1 and http://example.com/page2 have 10 div elements with class AmazingClass
1. On http://example.com/page1 I get 10 div elements with class AmazingClass
2. After loading the 2nd page http://example.com/page2 I get 20 div elements with class AmazingClass (10 from 1st page and 10 from 2nd page)
3. I check the current source of my 2nd page and apply my search regex and find only the last 10 div elements.
4. If I run again Data - Parse result -> my_regex action I still get 20 elements.
5. If I wait 2-3 minutes and run again Data - Parse result -> my_regex action I correctly get only 10 div elements.
It seems like zennoposter takes some time before actually refreshing the current DOM.
For now, I can set a 3 min pause before checking the 2nd page DOM but it's not what I need. Any suggestions?