behat/sahi-client
PHP client/driver for controlling the Sahi JS test automation tool remotely. Start a browser, navigate pages, find and interact with elements (links, headers, etc.), and stop the session—useful for browser automation and acceptance testing.
Adopt if:
Look elsewhere if:
For Executives: "This package lets us automate UI testing for legacy PHP applications using Sahi’s powerful—but now archived—tooling, without rewriting tests in JavaScript. It’s a cost-effective stopgap to modernize critical workflows, reduce manual QA effort, and ensure cross-browser compatibility for older systems. While not future-proof, it aligns with our roadmap to phase out legacy dependencies while delivering immediate ROI. We recommend pairing this with a migration plan to modern tools post-deprecation."
For Engineering: *"SahiClient is a PHP bridge to Sahi’s UI automation, ideal for:
For QA/DevOps: *"This lets you write PHP-based UI tests that record/playback complex user flows—just like Sahi’s recorder. Perfect for:
For Developers: *"If you’re stuck maintaining old PHP apps with flaky UI tests, this package lets you leverage Sahi’s automation without learning JavaScript. It’s a quick hack for:
behat/sahi-client via Composer.$client = new Client();
$client->start('firefox');
$client->navigateTo('https://legacy-app.com');
$client->findLink('Login')->click();
$client->stop();
Warning: This is not a long-term solution—plan to migrate to Playwright once legacy systems are deprecated."*
How can I help you explore Laravel packages today?