This is the first click button:
Var oBtn=document. GetElementsByClassName (" button_search ") [0];
OBtn. Click ();
This is click the second button:
Var oBtn1=document. GetElementsByClassName (" button_export_CSV ") [0];
OBtn1. Click ();
I want to click the first button, after the pause a few seconds, and then click the second button operation on
Found after baidu a lot of methods, the operation is paused a few seconds later, just click the first button operation on,,,
Have bosses know how to write
CodePudding user response:
oBtn. Click ();
SetTimeout ()=& gt; {
OBtn1. Click ();
}, 2000)
CodePudding user response:
The