Base URL:http://127.0.0.1:39627/api
searchElement
describe each attribute value of the parameter:
parent
:find the name of the parent element of the elementselector
:find selectortext of the elementisXPath
:selector text is XPath(true/false)index
:which index to choose when more than one element were found, start from "0"searchAllIframe
:Search from Iframe(true/false)selectorForSearchIframe
:Search Iframe for selector
Request path
/environment/list
Get attribute
Attribute | Type | Description |
---|---|---|
type | int | listtype,0 - all environment,1 - enableenvironment,2 - disableenvironment |
GetAttribute enum
xxxxxxxxxx
{
"type": 1
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": [
{
"id": "1622109562686",
"name": "cloud_test_3",
"group": "TEST",
"startUrl": "https://www.baidu.com/",
"browserId": 1956,
"currentUrl": "https://www.baidu.com/",
"account": null
},
{
"id": "1622109562675",
"name": "cloud_test_2",
"group": "TEST",
"startUrl": "https://www.facebook.com/",
"browserId": 22980,
"currentUrl": "https://www.facebook.com/",
"account": {
"id": "1622519343036",
"name": "myfacebookaccount",
"password": "myfacebookpassword",
"email": "",
"phone": "",
"cookie": "",
"siteUrl": "https://www.facebook.com/"
}
}
],
"error": null,
"browserNotFound": false
}
Request path
/environment/start
get attribute
Attribute | Type | Description |
---|---|---|
environmentId | String | environmentId |
GetAttribute enum
xxxxxxxxxx
{
"environmentId": "1622109562686"
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
Get path
/environment/close
Get Attribute
Attribute | Type | Description |
---|---|---|
environmentId | String | environmentId |
browserId | int | browserId |
GetAttribute enum
xxxxxxxxxx
{
"environmentId": "1622109562686",
"browserId": 0
}
OR
{
"environmentId": null,
"browserId": 22980
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/loadurl
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
url | String | URL to be load |
newTab | bool | open new tab |
timeout | int | timeout(seconds) |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"url": "https://www.qq.com/",
"newTab": true,
"timeout": 30
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/switchtab
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
url | String | The first tab matched with the url |
lastTab | bool | switch to the last tab(true/false) |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"url": "www.baidu.com",
"lastTab": false
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/closetab
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
url | String | The first tab matched with the url |
closeOthers | bool | close all the tabs except the one matched(true/false) |
closeLastTab | bool | close the last tab(true/false) |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"url": "www.baidu.com",
"closeOthers": false,
"closeLastTab": false
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/setcookie
GetAttribute
attribute | type | description |
---|---|---|
cookie | String | cookie(json) |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"cookie": "[{\"domain\":\".baidu.com\",\"expirationDate\":3770601752.373181,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BIDUPSID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"E12A9B3CE1E0C48F92F0E7D67493AF3B\"},{\"domain\":\".baidu.com\",\"expirationDate\":3770601752.3732,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"PSTM\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"1623118105\"},{\"domain\":\".baidu.com\",\"expirationDate\":1654654105.37321,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BAIDUID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"E12A9B3CE1E0C48FFB72E304558B28E5:FG=1\"},{\"domain\":\"www.baidu.com\",\"hostOnly\":true,\"httpOnly\":false,\"name\":\"BD_HOME\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"1\"},{\"domain\":\".baidu.com\",\"hostOnly\":false,\"httpOnly\":false,\"name\":\"H_PS_PSSID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"31253_33848_33676_33607_26350_22159\"},{\"domain\":\".baidu.com\",\"expirationDate\":1654654106.343895,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BAIDUID_BFESS\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"E12A9B3CE1E0C48FFB72E304558B28E5:FG=1\"},{\"domain\":\"www.baidu.com\",\"expirationDate\":1623982105,\"hostOnly\":true,\"httpOnly\":false,\"name\":\"BD_UPN\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"12314753\"},{\"domain\":\".baidu.com\",\"expirationDate\":1623121706,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BA_HECTOR\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"2180ag840485al8hmh1gbtk8q0r\"}]"
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/getcookie
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
|url|String
|the specified website address of the cookie to be obtained|=
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"url": "https://www.baidu.com/"
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": "[{\"domain\":\".baidu.com\",\"expirationDate\":3770601752.373181,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BIDUPSID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"E12A9B3CE1E0C48F92F0E7D67493AF3B\"},{\"domain\":\".baidu.com\",\"expirationDate\":3770601752.3732,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"PSTM\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"1623118105\"},{\"domain\":\".baidu.com\",\"expirationDate\":1654654105.37321,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BAIDUID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"E12A9B3CE1E0C48FFB72E304558B28E5:FG=1\"},{\"domain\":\"www.baidu.com\",\"hostOnly\":true,\"httpOnly\":false,\"name\":\"BD_HOME\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"1\"},{\"domain\":\".baidu.com\",\"hostOnly\":false,\"httpOnly\":false,\"name\":\"H_PS_PSSID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"31253_33848_33676_33607_26350_22159\"},{\"domain\":\".baidu.com\",\"expirationDate\":1654654106.343895,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BAIDUID_BFESS\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"E12A9B3CE1E0C48FFB72E304558B28E5:FG=1\"},{\"domain\":\"www.baidu.com\",\"expirationDate\":1623982105,\"hostOnly\":true,\"httpOnly\":false,\"name\":\"BD_UPN\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"12314753\"},{\"domain\":\".baidu.com\",\"expirationDate\":1623121706,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BA_HECTOR\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"2180ag840485al8hmh1gbtk8q0r\"}]",
"error": null,
"browserNotFound": false
}
get path
/browser/getallcookies
get path
attribute | type | description |
---|---|---|
browserId | int | browserId |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": "[{\"domain\":\".baidu.com\",\"expirationDate\":3770603360.986113,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"PSTM\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"1623119714\"},{\"domain\":\".baidu.com\",\"expirationDate\":1654655713.986123,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BAIDUID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"035813153AF4AB0ABA38DBFD12E5EC42:FG=1\"},{\"domain\":\"www.baidu.com\",\"hostOnly\":true,\"httpOnly\":false,\"name\":\"BD_HOME\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"1\"},{\"domain\":\".baidu.com\",\"hostOnly\":false,\"httpOnly\":false,\"name\":\"H_PS_PSSID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"34004_33607_26350\"},{\"domain\":\".baidu.com\",\"expirationDate\":2632271713,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BIDUPSID\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"E12A9B3CE1E0C48F92F0E7D67493AF3B\"},{\"domain\":\"www.baidu.com\",\"expirationDate\":1623983714,\"hostOnly\":true,\"httpOnly\":false,\"name\":\"BD_UPN\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"12314753\"},{\"domain\":\".baidu.com\",\"expirationDate\":1623123314,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"BA_HECTOR\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"a02l04258h0l2g20gm1gbtlr20r\"},{\"domain\":\".qq.com\",\"hostOnly\":false,\"httpOnly\":false,\"name\":\"pgv_info\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"ssid=s6826192643\"},{\"domain\":\".www.qq.com\",\"expirationDate\":1623121517,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"ts_last\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"www.qq.com/\"},{\"domain\":\".qq.com\",\"expirationDate\":2147385600,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"pgv_pvid\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"9261427969\"},{\"domain\":\".www.qq.com\",\"expirationDate\":1686191717,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"ts_uid\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"134862111\"},{\"domain\":\"www.qq.com\",\"expirationDate\":1623206117,\"hostOnly\":true,\"httpOnly\":false,\"name\":\"ad_play_index\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"24\"},{\"domain\":\".l.qq.com\",\"expirationDate\":2145887999.404651,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"lv_play_index\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"92\"},{\"domain\":\".l.qq.com\",\"expirationDate\":2145888000.343521,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"appuser\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"4B0D7D315C9F16CC\"},{\"domain\":\".tj.video.qq.com\",\"hostOnly\":false,\"httpOnly\":false,\"name\":\"lv_irt_id\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"7bba9392c58db70e3cd403c72a1007a3\"},{\"domain\":\".l.qq.com\",\"expirationDate\":2145888000.34347,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"o_minduid\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"01GQEVG38T6tNi2FrAhHO38qQSk_W1v5\"},{\"domain\":\".l.qq.com\",\"expirationDate\":1623206118.34354,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"Lturn\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"776\"},{\"domain\":\".l.qq.com\",\"expirationDate\":1623206118.343554,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"LKBturn\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"878\"},{\"domain\":\".l.qq.com\",\"expirationDate\":1623206118.343565,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"LPVLturn\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"503\"},{\"domain\":\".l.qq.com\",\"expirationDate\":1623206118.343576,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"LPLFturn\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"205\"}]",
"error": null,
"browserNotFound": false
}
get path
/browser/clearcookies
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/getimage
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
filePath | String | save to local path(png) |
elementScreenshot | bool | get element screenshot(true/false) |
searchElement | Object | condition of search element |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"filePath": "C:\\Users\\RHKJ008\\Desktop\\getimagetest.png",
"elementScreenshot": false,
"searchElement": null
}
OR
{
"browserId": 22980,
"filePath": "C:\\Users\\RHKJ008\\Desktop\\getimagetest.png",
"elementScreenshot": true,
"searchElement": {
"parent": null,
"selector": "*[id='lg']",
"isXPath": false,
"index": 0,
"searchAllIframe": false,
"selectorForSearchIframe": null
}
}
Response enum
x
{
"success": true,
"result": "C:\\Users\\RHKJ008\\Desktop\\getimagetest.png",
"error": null,
"browserNotFound": false
}
get path
/browser/executejs
Get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
js | String | js to be executed |
inIframe | bool | execute in jframe(true/false) |
selectorForIframe | String | find selector in iframe |
get attribute
xxxxxxxxxx
{
"browserId": 22980,
"js": "alert('hello world')",
"inIframe": false,
"selectorForIframe": null
}
GetAttribute enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
Response enum { "success": true, "result": null, "error": null, "browserNotFound": false}
get path
/browser/findelement
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
searchElement | Object | condition of searchElement |
saveElementName | String | Assign a name to the found element. Use the element by setting elementName in methods such as "grab text" and "set value" |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"searchElement": {
"parent": null,
"selector": "span.soutu-btn",
"isXPath": false,
"index": 0,
"searchAllIframe": false,
"selectorForSearchIframe": null
},
"saveElementName": "btnSoutu"
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": "btnSoutu",
"error": null,
"browserNotFound": false
}
get path
/browser/pageloadwait
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
searchElement | Object | condition of searchElement |
loop | int | loop time |
sleep | String | The interval between each loop, in seconds |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"searchElement": {
"parent": null,
"selector": "span.soutu-btn",
"isXPath": false,
"index": 0,
"searchAllIframe": false,
"selectorForSearchIframe": null
},
"saveElementName": "btnSoutu",
"loop": 10,
"sleep": 5
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/scrapespecialtext
get attribute
attribute | type | description |
---|---|---|
browserId | int | browserId |
specialText | int | special text,0 - source code,1 - title,2 - Body,3 - URL |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"specialText": 3
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": "https://www.baidu.com/",
"error": null,
"browserNotFound": false
}
get path
/browser/scrapeonetext
Get Attribute
attribute | type | description |
---|---|---|
browserId | int | browserid |
elementName | String | Set the name of the element found after using the "find element" and "waiting for page load" methods to null when using searchElement |
searchAllIframe | bool | Search in all iframe along with elementName(true/false) |
searchElement | Object | condition of searchElement. Set it to null when use elementName |
property | String | property name |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"elementName": null,
"searchAllIframe": false,
"searchElement": {
"parent": null,
"selector": "*[id='su']",
"isXPath": false,
"index": 0,
"searchAllIframe": false,
"selectorForSearchIframe": null
},
"property": "value"
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": "百度一下",
"error": null,
"browserNotFound": false
}
get path
/browser/scrapesometext
get attribute
attribute | Type | Description |
---|---|---|
browserId | int | browserid |
searchElement | Object | SelectorForSearchElement |
property | String | Propertyname |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"searchElement": {
"parent": null,
"selector": "a.mnav",
"isXPath": false,
"index": 0,
"searchAllIframe": false,
"selectorForSearchIframe": null
},
"property": "textContent"
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": ["新闻","hao123","地图","直播","视频","贴吧","学术"],
"error": null,
"browserNotFound": false
}
get path
/browser/setvalue
Get Attribute
Attribute | Type | Description |
---|---|---|
browserId | int | browserid |
elementName | String | Set the name of the element found after using the "find element" and "waiting for page load" methods to null when using searchElement |
searchAllIframe | bool | Search in all iframe along with elementName(true/false) |
searchElement | Object | condition of searchElement. Set it to null when use elementName |
property | String | property name |
value | String | value to be set |
GetAttribute enum Get Attribute
xxxxxxxxxx
{
"browserId": 22980,
"elementName": null,
"searchAllIframe": false,
"searchElement": {
"parent": null,
"selector": "input[id='kw']",
"isXPath": false,
"index": 0,
"searchAllIframe": false,
"selectorForSearchIframe": null
},
"property": "value",
"value": "APItest"
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/keystrokesemulation
get attribute
Attribute | Type | Description |
---|---|---|
browserId | int | browserId |
text | String | text |
isSpecialKey | bool | input specialkey(true/false) |
specialKey | int | specialKey,0 - TAB,1 - ENTER,2 - UP,3 - DOWN,4 - LEFT,5 - RIGHT,6 - HOME,7 - END,8 - PAGE UP,9 - PAGE DOWN,10 - BACKSPACE,11 - DELETE,12 - ESC |
sendTimes | int | specialKey send times |
minInterval | int | Enter the minimum interval event for each character, in milliseconds |
maxInterval | int | Enter the maximum interval event for each character, in milliseconds |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"text": "APItest",
"isSpecialKey": false,
"specialKey": 0,
"sendTimes": 0,
"minInterval": 50,
"maxInterval": 100
}
OR
{
"browserId": 22980,
"text": null,
"isSpecialKey": true,
"specialKey": 1,
"sendTimes": 2,
"minInterval": 50,
"maxInterval": 100
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}
get path
/browser/elementoperate
Get Attribute
Attribute | Type | Description |
---|---|---|
browserId | int | browserId |
elementName | String | Set the name of the element found after using the "find element" and "waiting for page load" methods to null when using searchElement |
searchAllIframe | bool | Search in all iframe along with elementName(true/false) |
searchElement | Object | condition of searchElement. Set to null when using elementName |
operateType | int | Operate type,0 - Event,eventName,1 - Click,2 - DoubleClick,3 - MouseClick,4 - MouseRightClick,5 - MouseDoubleClick,6 - MouseMove,7 - Touch,8 - ScrollTop,9 - ScrollBottom |
eventName | String | Event name, such as click, focus. Required when operateType is 0 |
moveTime | int | The duration of movement when operateType is MouseMove, in seconds |
GetAttribute enum
xxxxxxxxxx
{
"browserId": 22980,
"elementName": null,
"searchAllIframe": false,
"searchElement": {
"parent": null,
"selector": "span.soutu-btn",
"isXPath": false,
"index": 0,
"searchAllIframe": false,
"selectorForSearchIframe": null
},
"operateType": 3,
"eventName": null,
"moveTime": 0
}
Response enum
xxxxxxxxxx
{
"success": true,
"result": null,
"error": null,
"browserNotFound": false
}