Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Linter
Magnus Müllerecf1b9950b15
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yamlindex 50c7e1605..5f9e05e27 100644--- a/.github/workflows/test.yaml+++ b/.github/workflows/test.yaml@@ -22,7 +22,7 @@ on:- '*'pull_request:workflow_dispatch:-+jobs:setup-chromium:runs-on: ubuntu-latest@@ -276,12 +276,12 @@ jobs:const detailedResults = JSON.parse(process.env.DETAILED_RESULTS);const score = `${passed}/${total}`;const percentage = Math.round((passed / total) * 100);-+// Fail the workflow if 0% pass rateif (percentage === 0) {core.setFailed(`Evaluation failed: 0% pass rate (${passed}/${total})`);}-+// Create detailed tablelet tableRows = '';detailedResults.forEach(result => {@@ -289,31 +289,31 @@ jobs:const status = result.success ? 'Pass' : 'Fail';tableRows += `| ${result.task} | ${emoji} ${status} | ${result.reason} |\n`;});-+const comment = `## Agent Task Evaluation Results: ${score} (${percentage}%)-+<details><summary>View detailed results</summary>-+| Task | Result | Reason ||------|--------|--------|${tableRows}-+Check the [evaluate-tasks job](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for detailed task execution logs.</details>`;-+// Find existing comment to update or create new oneconst { data: comments } = await github.rest.issues.listComments({owner: context.repo.owner,repo: context.repo.repo,issue_number: context.issue.number,});-- const botComment = comments.find(comment =>- comment.user.type === 'Bot' &&++ const botComment = comments.find(comment =>+ comment.user.type === 'Bot' &&comment.body.includes('Agent Task Evaluation Results'));-+if (botComment) {// Update existing commentawait github.rest.issues.updateComment({