Finds the first of elements that match the part of the link text supplied
Namespace: OpenQA.Selenium.RemoteAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public IWebElement FindElementByPartialLinkText( string partialLinkText )
Parameters
- partialLinkText
- Type:
System String
part of the link text
Return Value
IWebElement object so that you can interact that objectImplements
IFindsByPartialLinkText FindElementByPartialLinkText(String)Examples
IWebDriver driver = new RemoteWebDriver(DesiredCapabilities.Firefox()); IWebElement elem = driver.FindElementsByPartialLinkText("partOfLink")
See Also