I'm trying to do a webBrowser Game.
Here stands a print of the HTML code: Fig 1:
‭669‬
Here stands the code I'm doing to get the value (in this case: 669):
public void getPoducaoHoraria()
{
string _prodMadeira = chromeDriver.FindElementByXPath("//*[@id='production']/tbody/tr[1]/td[3]").Text;
File.WriteAllText("C:\\Users\\Goncalo\\Desktop\\t.txt", _prodMadeira);
Console.WriteLine("Prod Madeira {0}", _prodMadeira);
}
Output in File: 669
Output in Console: ?669?
Any guess why thoso "?" on console output ?