/// <summary>
/// Finds all child elements matching the given mechanism and value.
/// </summary>
/// <param name="mechanism">The mechanism by which to find the elements.</param>
/// <param name="value">The value to use to search for the elements.</param>
/// <returns>A collection of all of the <see cref="IWebElement">IWebElements</see> matchings the given criteria.</returns>
protected ReadOnlyCollection <IWebElement> FindElements(string mechanism, string value)
{
Dictionary <string, object> parameters = new Dictionary <string, object>();
parameters.Add("id", elementId);
parameters.Add("using", mechanism);
parameters.Add("value", value);
Response commandResponse = Execute(DriverCommand.FindChildElements, parameters);
return(driver.GetElementsFromResponse(commandResponse));
}