I am have added the lines of code as suggested. I still get the same error message.
1 Answer
You need to do something with the text. For example, assign to some variable:
string pressureToday = driver.FindElement(By.XPath(xpathExpression)).Text;
-
I have added the code as suggested. But, I get the same error message.– OA345Commented May 23, 2017 at 0:37
-
-
I have another error. My research (from google & stackoverflow) suggests that it is a formatting issue. Here it is, please: sqa.stackexchange.com/questions/27406/…– OA345Commented May 23, 2017 at 2:32