首页 > 解决方案 > 如何存储脚本中的计数?水豚/罗比

问题描述

例如,我想存储 totalResultCount 的结果

<script>P.declare('s\-metadata', {"totalResultCount":38460,"asinOnPageCount":60,"searchAlias":"aps","keywords":"iphone","store":"gateway","merchantId":"","merchantName":"","placeholderText":"","rid":"46TR63RB4BDTFGC80F9F","rescopeParameter":"n","rescopeNode":""});</script>

标签: rubyseleniumcapybara

解决方案


推荐阅读