API Automation

API Ask If the Current Page is Loaded

API Ask if the current page is loaded:


Request Url:


http://127.0.0.1:35000/api/v1/profile/readyState


Request Type: POST


NameTypeDescriptionrequired
profileIdstringBrowser profile IDtrue


Body
x-www-form-urlencoded


{
    "profileId": "056FEE67-A1E2-412B-866F-78DEA5AF2D22"
}


Request


{
    "profileId": "86AE6678-CFA1-4A38-94C2-6265CB25C404"
}


Response


{
    "status": "OK",
    "value": "loading"
}


OR


{
    "status": "OK",
    "value": "complete"
}



Note:


1. Enable browser automation settings and save the settings on the XLogin client. For the tutorial, please refer to the "Launch the browser automation port";


2. profileId: Please refer to the "Where can the Profile ID be Found?" tutorial or use the profile/list interface to get all profileId.