[英]Finding a specific pattern using regex in xpath
我想在 xpath 中使用正則表達式查找特定文本。
這是我的 xpath:
locator: //*[@class = 'android.widget.TextView' and contains(@text,'PriceBottomBarDialog-selector')]
這個“PriceBottomBarDialog-selector”保持不變,開始的文本不斷變化。 任何人都可以請幫助正則表達式模式嗎?
謝謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.