he.DisplacementInDocument and he.DisplacementInTabWindow

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

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Реакции
8
Баллы
8
in cc
he.DisplacementInDocument always equal he.DisplacementInTabWindow
please check!
pm is ok
 
https://help.zennolab.com/en/v5/zen...enter.HtmlElement~DisplacementInDocument.html
upload_2014-10-21_13-31-15.png
 

Вложения

  • upload_2014-10-21_13-31-5.png
    upload_2014-10-21_13-31-5.png
    16,4 KB · Просмотры: 519
int x = int.Parse(instance.ActiveTab.FindElementByAttribute(....).GetAttribute("leftinbrowser"))
int y = int.Parse(instance.ActiveTab.FindElementByAttribute(....).GetAttribute("topinbrowser"))
you get the left up corner of element relative to maintab in pm and the same in zp
 
  • Спасибо
Реакции: enrc66
int x = int.Parse(instance.ActiveTab.FindElementByAttribute(....).GetAttribute("leftinbrowser"))
int y = int.Parse(instance.ActiveTab.FindElementByAttribute(....).GetAttribute("topinbrowser"))
you get the left up corner of element relative to maintab in pm and the same in zp
thank you
that's could instead of DisplacementInDocument
 

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