我有以下按钮,我想在加载表单10分钟后点击批准按钮。
df$Class <- factor(df$Class)
levels(df$Class) <- list(R1=c("01"),R2=c("02"),R3=c("03"),R4=c("04"),R5=c("05"),R6=c("06", "07, "08", "09, "10"),R7=c("11", "12", "13", "14", "15"),R8=c("16", "17", "18", "19", "20"))
df_new<-aggregate(df[,3],by=list(df$Class),FUN=sum)
答案 0 :(得分:0)
您可以执行以下操作:
// Wait for form to load
$.ready(()=>{
setTimeout($("button.approve").click,600*1000) //click button after 10 mins.
})