0
我需要從下面的html中獲取文本「沒有找到結果,請點擊標籤以使用輸入的文本」。Selenium xpath - 無法找到xpath
<div id="boundlist-1520-listEl" class="x-boundlist-list-ct" style="overflow: auto; height: auto;">
<ul></ul>
No results found, click tab to use entered text
</div>
當我與DIV ID嘗試,其引發錯誤。
任何人都可以幫助我得到這個xpath。
很多謝謝。
問候, 蘇哈Banakar
您正在收到什麼錯誤?添加你使用的xpath – Grasshopper
哪個Selenium客戶端使用Java/Python/C#? – DebanjanB
id似乎是動態的,嘗試使用classname'x-boundlist-list-ct' –