Skip to content

docs(csharp): fix nonexistent method names in guide examples - #42507

Open
Super-Eric wants to merge 1 commit into
microsoft:mainfrom
Super-Eric:fix-docs-csharp-method-names
Open

docs(csharp): fix nonexistent method names in guide examples#42507
Super-Eric wants to merge 1 commit into
microsoft:mainfrom
Super-Eric:fix-docs-csharp-method-names

Conversation

@Super-Eric

Copy link
Copy Markdown

Three guides call C# methods that do not exist in the .NET API: GetByTextAsync in mock.md (twice), Selectors.Register in extensibility.md, and page.WaitForURL in navigations.md.

GetByText is synchronous and returns a locator, while RegisterAsync and WaitForURLAsync both carry the Async suffix. The API reference already spells all three correctly, so this only brings the guides in line with it.

`GetByText` is synchronous and returns a locator, while `Selectors.Register`
and `Page.WaitForURL` are asynchronous and carry the `Async` suffix. The API
reference already spells all three correctly.
@Super-Eric

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant