示例#1
0
        public RemoteWebElement ScrollTo(By by)
        {
            var response = this.Execute(
                ScrollToListBoxItem,
                new Dictionary<string, object>
                    {
                        { "id", this.Id },
                        { "using", by.GetStrategy() },
                        { "value", by.GetValue() },
                    });

            return this.CreateRemoteWebElementFromResponse(response);
        }