我尝试在刚刚打开的页面上单击按钮,但得到TypeError: Cannot read property 'body' of undefined
var target = window.open("link");
target.document.body.getElementsByClassName("button class").item().click()
能否请你帮忙?
我尝试在刚刚打开的页面上单击按钮,但得到TypeError: Cannot read property 'body' of undefined
var target = window.open("link");
target.document.body.getElementsByClassName("button class").item().click()
能否请你帮忙?