1. Refresh the page

2. The current tab to open the specified URL

3. Get the source code of the web page

4. Find the element of the web page

function parameter support:











The args parameter is the passing parameter of the function, such as: findElementByID(args).

When the “click” is true, after find the specified element, perform click operation. When it is false, it will not perform click operation.

Index means that when there are multiple elements, it will specifically click which element. Start from number 0, -1 is one of the random elements. This parameter is used when “click” is true.

5. Take the attribute value of the specified element[{"ELEMENT": "95365abe-6746-4703-8cfd-6316580f5289", "element-6066-11e4-a52e-4f735466cecf": "95365abe-6746-4703-8cfd-6316580f5289"}, "style"]

Generally, the args parameter is a JSON string that combined with Element_ID which obtained after findElement performs find element operation. For example:[{"ELEMENT": "95365abe-6746-4703-8cfd-6316580f5289", "element-6066-11e4-a52e-4f735466cecf": "95365abe-6746-4703-8cfd-6316580f5289"}, "value"]

The above example is take the value of the 95365abe-6746-4703-8cfd-6316580f5289 element.

6. Perform element click operation through the selector

7. Send text to web page

Generally, the elementId parameter is obtained after findElement performs find element operation. value=abc, which means send the abc string in this web page control. Please note that all the automatic actions can be performed after the web page is loaded, otherwise, the actions may be blocked.

Port 35000 here is the port set in my account in VMLogin client. Please pay attention to its opening and change.

8. Client restart interface

9. Test proxy interface

proxytype parameters:socks5/socks4/http/https

{"status":"ERROR","value":"Failed to test the proxy server."}