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:
Nathan Hoffmann 2020-09-11 15:28:28 -04:00 committed by GitHub
parent 16be357489
commit 75e847a6fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {