Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通过 HttpURLConnection 解析网站。我需要模拟按下按钮并从网站获取响应代码。
以下是网站的回复
<a href="#" data-toggle="tab" onClick="doCalculate('130');">Calculate</a>
如何模拟做“doCalculate”然后得到响应?