Quick update. I tried using this to grab the text, and it gave me a value of "status: pending" when I tested it with an assert statement. I've been trying to figure out what that could mean. Any clue??
it('should verify that Brett Favre is in the search field', function (done) {
var brett = driver.elementByXPath(checkBrett);
chai.assert.equal(brett, "Brett Favre", "oops, not Brett Favre!!");
done();
});
Note: checkBrett is an Xpath saved as a variable. Also, I tried using the .getText() method on the chain, but it throws an error of "undefined is not a function"