As title, how to emulate scroll down to specified element?
I have tried this C# code as below, but no move:
I have tried this C# code as below, but no move:
HtmlElement he = instance.ActiveTab.MainDocument.FindElementByAttribute("div", "id", "7_0", "text", 0);
if (!he.IsVoid)
{
he.ScrollIntoView();
instance.ActiveTab.MouseClick(he.DisplacementInTabWindow.X + 10, he.DisplacementInTabWindow.Y + 10, "left", "click");
instance.SendText("It's just example. If you see this text then all work correctly. Don't forget to buy one more ZennoPoster.", 75);
}
if (!he.IsVoid)
{
he.ScrollIntoView();
instance.ActiveTab.MouseClick(he.DisplacementInTabWindow.X + 10, he.DisplacementInTabWindow.Y + 10, "left", "click");
instance.SendText("It's just example. If you see this text then all work correctly. Don't forget to buy one more ZennoPoster.", 75);
}