@johnsharon
I think temporary profiles can't be deleted. Check the folder:
"....\BrowserAutomationStudio\apps\26.7.1\prof"
The reason for this behavior may be that BAS does not have permissions to edit/delete files.
Try to run the program as administrator.
Try restarting the project periodically using the buttons in the interface, but not through forced closing or closing via Task Manager or something similar.
Try moving BAS or the project you are running to a different directory or disk.
Make Server in BAS , like Node Express Server
-
i wan to to try make server , in BAS to direct receive post and get request,
Following is my Code.const express = require('express');
var session = require('express-session');
const bodyParser = require('body-parser');
const app = express();
const port = 3000;
app.use(bodyParser.json());app.post('/next', async (req, res) => {
res.header('Access-Control-Allow-Origin', '*'); // Allow requests from any origin
res.header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE');
res.header('Access-Control-Allow-Headers', 'Content-Type, Authorization');aiValue = req.body.ai;
prValue = req.body.pr;
[[EMAIL]] = req.body.ai;
[[PASSWORD]] = req.body.pr;await BAS_FUNCTION( "browserstart", { email : [[EMAIL]] ,password : [[PASSWORD]] })
console.log("Email = > " + aiValue );
res.send("Email : " + [[EMAIL]] + "\n"+"Password : " + [[PASSWORD]]);
});
app.listen(port, () => {
console.log(App listening on port ${port})
});I add Node module and this code write this in Node module in BAS.
i have problem when send post to , it not call functions.
please help me.Thank you
-
@saimraza786 why just not to run node js server not in BAS? set 2 endpoint url's, one to push data on server , and second to retrieve data from server to BAS only by GET request?