How to store the content/value of xpath?

安稳与你 提交于 2019-12-05 15:58:02
Try storeText ( locator, variableName )
Then use it ${variableName}

Refer Selenium documentation for storeText

saga told you how to store that string, as you need to store only 145300, below code will help you

store   |  Displaying 1 to 30 of 145300  |  string
store   | 1 |  delimiter
store   | javascript{storedVars['string'].split('of')[storedVars['delimiter']]}  |  result
echo    | ${result}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!