0
類是否有從圖像觸發事件匹配的水豚測試
< a class ="image">....</a>
< a class ="image">....</a>
< a class ="image">....</a>
同時使用下面的代碼列表中選擇第一圖像的任何可能的方式,它顯示了所有images.I的預覽只想要顯示第一個的預覽圖像。
page.execute_script('$(".image").trigger("mouseenter")')