IWebElement AlignIBM = Chrome.FindElement(By.CssSelector("[Id$='alignTR']")); |
Makes a "base" element |
AlignIBM = AlignIBM.FindElement(By.XPath(".//td[2]")); |
The Period establishes current element as the root element for the element search! |
|
Must be an object for the XPath to find |
string strAlignIBM = AlignIBM.GetAttribute("textContent"); |
Get the information / text that is on the page |
|
Chrome.FindElement(By.XPath("//*[@id='wheelAlignment']")) |
Base elelemt |
.FindElement(By.XPath(".//input[@value='no']")) |
Find an element with a particular attribute - MUST have an object - Use the value in the object, not the display text |
.Click(); |
Action |