How do I get the inner text of an element that has been click?
string xplast = "//button[@id='test']";
IElementHandle last = await ((IPage)page).WaitForXPathAsync(xplast);
await last.FocusAsync();
await last.ClickAsync();
string innertext = (await last.GetInnerTextFromElement()).ToString()
is there a way to do something like this? string innertext = (await last.GetInnerTextFromElement()).ToString()