Selenium Notes

look_for_me
Syntax Example Explain  
^= id^='look' Starts With  
*= for Contains  
$= me Ends With  

IWebElement AlignIBM = Chrome.FindElement(By.CssSelector("[Id$='alignTR']"));
AlignIBM = AlignIBM.FindElement(By.XPath(".//td[2]"));                     //Establish current element as the root element for the element search!
string strAlignIBM = AlignIBM.GetAttribute("textContent");


  1. .getattribute
    1. taxtContant
    2. value
      1. drop down lists
    3. innerText