📅  最后修改于: 2022-03-11 14:57:49.290000             🧑  作者: Mango
The only locator that works with text is xpath.
Matching exact text : //tag[.=‘text’]
Matching partial text : //tag[contains(text(), ’text’)]