Click or drag to resize
ExtensionsSetFocusToElementAndClick Method
It is used to set focus on required IWebelement,and then Click on it

Namespace: SeleniumUtilities
Assembly: SeleniumUtilities (in SeleniumUtilities.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void SetFocusToElementAndClick(
	this IWebElement element
)

Parameters

element
Type: IWebElement

[Missing <param name="element"/> documentation for "M:SeleniumUtilities.Extensions.SetFocusToElementAndClick(OpenQA.Selenium.IWebElement)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IWebElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also