API Automation

API Switch Frame

API Switch Frame:


Request Url:


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


Request Type: POST/GET


NameTypeDescriptionrequired
profileIdstringBrowser profile IDtrue
argsstringFrameName (Support for base64 encoding)true


Body
x-www-form-urlencoded


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



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.