Skip to content

Property innertext was not found. #15

Answered by amaitland
Mephisto090 asked this question in Q&A
Discussion options

You must be logged in to vote

CefSharp.Puppeteer.PuppeteerException: "Property innertext was not found."

The error is self explanatory really, there is no such property. The language is case sensitive, it's innerText not innertext.

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText

I use an extra function because I have to distinguish between each attribute

As I've said before you'd be better removing these functions they make your code harder to read and maintain, offer little value.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Mephisto090
Comment options

@Mephisto090
Comment options

@amaitland
Comment options

@Mephisto090
Comment options

@amaitland
Comment options

Answer selected by Mephisto090
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants