How to get the innerText from a <input> using XPath?
I have this to work but with CSS, but it do not work for me with XPath
IElementHandle ha = await page.QuerySelectorAsync(xpath);
IJSHandle ith = await ha.GetPropertyAsync("value");
string val = ith.RemoteObject.Value.ToString();
The following works for me: