Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Webdriver Laravel Package

facebook/webdriver

Archived Selenium WebDriver bindings for PHP. Controls browsers via Selenium 2–4 using JsonWireProtocol and partial W3C WebDriver support. Install with Composer and connect to a running selenium-server. Use php-webdriver/php-webdriver for current updates.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Automated Testing & QA Infrastructure: Enables scalable browser automation for PHP-based test suites (e.g., unit, integration, or E2E tests) without relying on Java/.NET stacks.
  • Roadmap for Modernization: Justifies migration from legacy Selenium 2.x to W3C WebDriver (via php-webdriver) for future-proofing cross-browser testing.
  • Build vs. Buy: Avoids reinventing Selenium bindings in PHP, reducing dev effort while maintaining compatibility with Selenium’s ecosystem.
  • Use Cases:
    • CI/CD pipelines (e.g., GitHub Actions, Jenkins) for parallelized browser testing.
    • Dynamic UI testing for PHP web apps (e.g., Laravel, Symfony) where JS-heavy interactions require automation.
    • Scraping/validation tools needing headless browser control (e.g., Chrome/Firefox via Geckodriver).

When to Consider This Package

Adopt if:

  • Your PHP stack requires Selenium WebDriver integration (e.g., for testing or scraping).
  • You need W3C WebDriver support (for modern browsers like Chrome/Edge) but can tolerate slight limitations.
  • Your team lacks resources to build/maintain custom Selenium bindings.

Look elsewhere if:

  • You require full W3C compliance (use the active php-webdriver fork).
  • Your use case demands active maintenance (this repo is archived; fork may be riskier).
  • You’re using Selenium 4.x Grid (experimental support may not suffice).
  • Alternatives like Playwright/Puppeteer (via PHP bindings) offer richer features (e.g., no WebDriver dependency).

How to Pitch It (Stakeholders)

Executives: "This package lets us automate browser testing/scraping in PHP without building custom Selenium bindings—saving dev time while leveraging Selenium’s industry-standard tools. It’s a low-risk way to modernize our QA pipeline, with support for Chrome/Firefox via Geckodriver. The archived status is a red flag, but the active fork (php-webdriver) mitigates that risk."

Engineering: *"We can replace ad-hoc Selenium scripts with a maintained PHP library, standardizing cross-browser testing. Key benefits:

  • Compatibility: Works with Selenium 2.x–4.x and W3C WebDriver (with caveats).
  • Integration: Mimics Java/.NET APIs, so devs can reuse Selenium docs/tutorials.
  • CI/CD Ready: Lightweight for parallel test execution (e.g., GitHub Actions). Tradeoff: The archived repo means we’d need to monitor the fork for updates, but the core functionality is solid for our needs."*

Devs/QA: *"No more Java/.NET dependencies for Selenium! This lets us write PHP test scripts (e.g., Laravel Dusk-like) with:

  • Headless/real browser control (Chrome/Firefox via Geckodriver).
  • JSONWire/W3C protocol support (future-proofing).
  • Active community (via the fork). Downside: W3C support isn’t 100%—but good enough for our current use cases."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table