{"id":2610,"date":"2023-08-10T10:54:00","date_gmt":"2023-08-10T02:54:00","guid":{"rendered":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-switch-frame\/"},"modified":"2024-12-04T15:26:15","modified_gmt":"2024-12-04T07:26:15","slug":"api-switch-frame","status":"publish","type":"docs","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-switch-frame\/","title":{"rendered":"API Switch Frame"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>API Switch Frame:<\/strong><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Url: <\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">http:\/\/127.0.0.1:35000\/api\/v1\/profile\/SwitchToFrame<\/mark><\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Type: POST\/GET<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<figure class=\"wp-block-table has-medium-font-size\"><table><tbody><tr><td><strong>Name<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>required<\/strong><\/td><\/tr><tr><td>profileId<\/td><td>string<\/td><td>Browser profile ID<\/td><td>true<\/td><\/tr><tr><td>args<\/td><td>string<\/td><td>FrameName (Support for base64 encoding)<\/td><td>true<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Body<br>x-www-form-urlencoded<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">{\n    \"profileId\": \"86AE6678-CFA1-4A38-94C2-6265CB25C404\",\n    \"args\": \"FrameName\"\n}<\/mark><\/code><\/pre>\n\n\n\n<p><br><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Note:<\/strong><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">1. Enable browser automation settings and save the settings on the XLogin client. For the tutorial, please refer to the&nbsp;<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/launch-the-browser-automation-port\/?swcfpc=1\">\"Launch the browser automation port\"<\/a><\/strong>;<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">2. profileId: Please refer to the&nbsp;<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/where-can-the-profile-id-be-found\/?swcfpc=1\">\"Where can the Profile ID be Found?\"<\/a><\/strong>&nbsp;tutorial or use the&nbsp;<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-get-the-list-of-all-available-browser-profiles\/?swcfpc=1\">profile\/list interface<\/a><\/strong>&nbsp;to get all profileId.<\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"featured_media":0,"parent":810,"menu_order":52,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2610","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/comments?post=2610"}],"version-history":[{"count":3,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2610\/revisions"}],"predecessor-version":[{"id":3355,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2610\/revisions\/3355"}],"up":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/810"}],"next":[{"title":"API Test Proxy","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-test-proxy\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/3481"}],"prev":[{"title":"API Ask If the Current Page is Loaded","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-ask-if-the-current-page-is-loaded\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2607"}],"wp:attachment":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/media?parent=2610"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/doc_tag?post=2610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}