以下のようにxpathを想定します。
xpath : //div[@id='cslGridViewPanelControl']/div/div[2]/div/table/tbody/tr/td[2]/table/tbody/tr/td/table/tbody/tr/td/div
Last div element contains 'Displaying 1 to 30 of 145300'.
I need to store 'Displaying 1 to 30 of 145300' in some variable by using selenium tool.
私は試した
command target value
store xpath variable1
echo ${variable1}
variable1:xpathとして表示されます。しかし、私はvariable1が必要です:'145300の1から30を表示します'。誰か助けてくれませんか?