我不知道如何通過使用css/xpath選擇器獲得按鈕的onclick文本。下面是代碼:如何使用css或xpath選擇器獲取按鈕的onclick文本
<button type="button" class="btn btn-primary pull-right btn-sm no-redirect ph" onclick="showNumber('11111111122/002-26688<br>18000000000', 'DIM')>
<span>ABC</span>
</button>
我想提取號碼「11111111122/002-26688
180億
請幫
凡表示,一旦你點擊該按鈕的數量? – NarendraR
當我點擊按鈕時,出現另一個彈出窗口,並在該窗口上顯示數字 – michael
爲此,您必須在點擊按鈕 – NarendraR