Spaces:
No application file
No application file
Update browser_automation_ui.html
Browse files
browser_automation_ui.html
CHANGED
|
@@ -211,7 +211,8 @@ All endpoints return { ok: true/false, data, error }
|
|
| 211 |
|
| 212 |
async function launchBrowser(){
|
| 213 |
const out = await api('/browser/launch');
|
| 214 |
-
sessionId = out.sessionId || sessionId;
|
|
|
|
| 215 |
document.getElementById('browserResp').textContent = JSON.stringify(out,null,2);
|
| 216 |
checkStatus();
|
| 217 |
}
|
|
|
|
| 211 |
|
| 212 |
async function launchBrowser(){
|
| 213 |
const out = await api('/browser/launch');
|
| 214 |
+
sessionId = out.session_id || out.sessionId || sessionId;
|
| 215 |
+
//sessionId = out.sessionId || sessionId;
|
| 216 |
document.getElementById('browserResp').textContent = JSON.stringify(out,null,2);
|
| 217 |
checkStatus();
|
| 218 |
}
|