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) {
|
constructor(page) {
|
||||||
this.page = page;
|
this.page = page;
|
||||||
}
|
}
|
||||||
async goto() {
|
async navigate() {
|
||||||
await this.page.goto('https://bing.com');
|
await this.page.goto('https://bing.com');
|
||||||
}
|
}
|
||||||
async search(text) {
|
async search(text) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue