Weave Code
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky