- Регистрация
- 23.10.2016
- Сообщения
- 250
- Благодарностей
- 71
- Баллы
- 28
Добрый день
Подскажите как сделать скрол по данной ссылке
https://www.google.com/maps/search/Диетолог Киев/@48.4524045,32.8905401,7z/data=!3m1!4b1
Я пытался так
HtmlElement he = instance.ActiveTab.GetDocumentByAddress("0").FindElementByAttribute("div", "class", "section-layout section-scrollbox mapsConsumerUiCommonScrollable__scrollable-y mapsConsumerUiCommonScrollable__scrollable-show section-layout-flex-vertical","regexp",0);
instance.ActiveTab.FindElementByAttribute("div","class","section-layout section-scrollbox mapsConsumerUiCommonScrollable__scrollable-y mapsConsumerUiCommonScrollable__scrollable-show section-layout-flex-vertical","regexp",0).ScrollIntoView();
if (!he.IsVoid)
{
he.ScrollIntoView();
}
if (he.IsVoid) return -1;
instance.ActiveTab.FullEmulationMouseMove(he.DisplacementInTabWindow.X,he.DisplacementInTabWindow.Y-500);
Подскажите как сделать скрол по данной ссылке
https://www.google.com/maps/search/Диетолог Киев/@48.4524045,32.8905401,7z/data=!3m1!4b1
Я пытался так
HtmlElement he = instance.ActiveTab.GetDocumentByAddress("0").FindElementByAttribute("div", "class", "section-layout section-scrollbox mapsConsumerUiCommonScrollable__scrollable-y mapsConsumerUiCommonScrollable__scrollable-show section-layout-flex-vertical","regexp",0);
instance.ActiveTab.FindElementByAttribute("div","class","section-layout section-scrollbox mapsConsumerUiCommonScrollable__scrollable-y mapsConsumerUiCommonScrollable__scrollable-show section-layout-flex-vertical","regexp",0).ScrollIntoView();
if (!he.IsVoid)
{
he.ScrollIntoView();
}
if (he.IsVoid) return -1;
instance.ActiveTab.FullEmulationMouseMove(he.DisplacementInTabWindow.X,he.DisplacementInTabWindow.Y-500);