docs(locator): fix hideHighlight/highlight examples#40602
docs(locator): fix hideHighlight/highlight examples#40602pavelfeldman merged 1 commit intomicrosoft:mainfrom
Conversation
- Rewrite the garbled `Locator.hideHighlight` description.
- Fix the `Locator.highlight` example to use the `{ style }` options
object instead of passing the value directly.
- Tighten the `style` object value type from `any` to `string | number`.
Test results for "MCP"15 failed 6861 passed, 1015 skipped Merge workflow run. |
Test results for "tests 1"2 flaky41642 passed, 784 skipped Merge workflow run. |
Summary
Locator.hideHighlightdescription.Locator.highlightexample to use the{ style }options object.styleobject value type fromanytostring | number.