且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

以编程方式单击 Chrome 控制台中页面上的所有按钮

更新时间:2023-02-11 12:12:15

好吧,您要确保只选择该部分中的按钮,这样您就不会运行搜索.

Well, you want to make sure you only select the buttons in the section so you are not running the search.

$("#body .btn").trigger("click");