browser-use
An open-source Python library for AI agents that interact with websites.
Making browser actions work with Gemini
Gemini rejected actions such as go_back because their generated parameter schemas were empty. I added an optional description field so the schemas met Gemini’s requirements without changing how the actions worked. The fix was approved and merged into browser-use.
Improving browser-session cleanup
Keeping a browser open between tasks could leave the Python program hanging during shutdown. I proposed changes to separate full shutdown from session cleanup, preserving the browser connection and focused tab when keep_alive was enabled. The proposal also cleared cached page and element data during cleanup.