##### Locator.get_by_text() - `Locator.get_by_text()` -> [[class Locator|Locator]] - - `text`: `str|Pattern` - - `exact`: `bool (optional)` -