mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-28 06:07:53 +03:00
docs(pom.md): fix typo in example function name (#3855)
The patch renames the `goto` function in page object model documentation to `navigate`. Fixes #3854
This commit is contained in:
parent
16be357489
commit
75e847a6fa
@ -27,7 +27,7 @@ class SearchPage {
|
||||
constructor(page) {
|
||||
this.page = page;
|
||||
}
|
||||
async goto() {
|
||||
async navigate() {
|
||||
await this.page.goto('https://bing.com');
|
||||
}
|
||||
async search(text) {
|
||||
|
Loading…
Reference in New Issue
Block a user