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
fix(install): make Windows PATH config non-interactive
ShawnPana856cae6947eb
diff --git a/install.sh b/install.shindex d93803ede..2d837d7ea 100755--- a/install.sh+++ b/install.sh@@ -681,27 +681,11 @@ configure_powershell_path() {return 0fi- # Ask for confirmation before modifying registry- echo ""- echo "To use 'browser-use' from PowerShell/Command Prompt, we need to add it to your PATH."- echo ""- echo "This will modify: HKEY_CURRENT_USER\\Environment\\Path"- echo "Adding: %USERPROFILE%\\.browser-use-env\\Scripts"- echo ""- read -p "Add to Windows PATH? [Y/n] " -n 1 -r < /dev/tty- echo ""-- if [[ $REPLY =~ ^[Nn]$ ]]; then- log_info "Skipped PATH configuration"- log_info "To use browser-use, add to PATH manually or run via Git Bash"- return 0- fi-# Append to user PATH via registry (safe, no truncation, no execution policy needed)powershell.exe -Command "[Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path', 'User') + ';' + \$env:USERPROFILE + '$scripts_path;' + \$env:USERPROFILE + '$local_bin', 'User')" 2>/dev/nullif [ $? -eq 0 ]; then- log_success "Added to Windows PATH (restart PowerShell to use)"+ log_success "Added to Windows PATH: %USERPROFILE%\\.browser-use-env\\Scripts"elselog_warn "Could not update PATH automatically. Add manually:"log_warn " \$env:PATH += \";\$env:USERPROFILE\\.browser-use-env\\Scripts\""