diff --git a/docs/src/assertions.md b/docs/src/assertions.md index 1c4c74b51c59b..b41806b350d5a 100644 --- a/docs/src/assertions.md +++ b/docs/src/assertions.md @@ -27,8 +27,8 @@ assert content == "home" ``` ### API reference -- [`method: Page.innerText`] -- [`method: ElementHandle.innerText`] +- [`method: Page.textContent`] +- [`method: ElementHandle.textContent`] ## Inner text