Condition to check opened window

  • Автор темы Автор темы krisztos
  • Дата начала Дата начала
Most probably there is some elements on page that you can check against.
And use to search in which TAB popup
rPw6pPp.png
 
first you have to get the count of opened popups before popup action:
return instance.AllTabs.Length;
after pup action you repeat the action
return instance.AllTabs.Length;
and make the comparison
 
Whatever what content, for example if you know that on this popup page is at least one link then use same I posted previous but in attribute set href and in value set .* and in event you can set focus if you want only for check...
It will search for any link on TAB popup, so if there will not be any popup tab then red dot, if will be tab popup with at least one link on page then green dot
 

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