const options = {
method: 'POST',
headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({feedback: '<string>', testOutput: '<string>', testLogs: '<string>'})
};
fetch('https://api.browser-use.com/api/v2/skills/{skill_id}/refine', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));