Wait for elements to load

  • Автор темы Автор темы myndeswx
  • Дата начала Дата начала

myndeswx

Client
Регистрация
15.05.2017
Сообщения
437
Реакции
104
Баллы
43
Working on a website - https://gb.auctions.godaddy.com/

Problem with button from the screenshot -

KAxNwYbH4KvWMm.jpg




The problem - When clicked this button page 'loads' , but
instance.activetab.waitdownloading(); Does not help with this kind of 'loading'

So the question, is there a way to wait for elements to load? Thank you
 
Thank you @lokiys , but that does not help, now i am just using static 10sec delay, could you please share the C# snippet? )
 
What about this? This is timeout for loading page in tab. Try increasing it.
Paga_load_timeout.png
 
By the way, I checked this website in last version 5.11.4.0 - page loads properly after click., no issues.
 
By the way, I checked this website in last version 5.11.4.0 - page loads properly after click., no issues.
Yes, it loads , but if you select '500 results' it loads somewhere around 5-10 seconds, also i think it depends on the internet and PC, so might be 30sec on someones Pc, so using 10sec static delay is not very convenient
 
  • Спасибо
Реакции: myndeswx
Try this...
Get this regex from page dom... {-page dom-} to variable html
<div id="divOverlaySRA".*?display: none

If...
variable {-Variable.html-} != ""

continue

else, pause 1s... loop
 
  • Спасибо
Реакции: noname007 и myndeswx
check this: instance.ActiveTab.IsBusy
 

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