Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events #130

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update per W3C spec. Pruning legacy cruft.
robocoder committed Dec 9, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b453d4cebd575722bd2b6de0d765bfe0e5c0a8fd
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,11 @@ env:

jobs:
Mink:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
selenium: [ '3.141.59' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1' ]
include:
- selenium: '2.53.1'
php: 'latest'
selenium: [ '4.16.1' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
fail-fast: false

steps:
47 changes: 32 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,41 @@
WebDriver for Selenium 2
========================
This WebDriver client implementation is based on Meta/Facebook's original [php-webdriver](https://github.com/instaclick/php-webdriver/tree/upstream)
project by Justin Bishop. Meta/Facebook's current [php-webdriver](https://github.com/php-webdriver/php-webdriver) is a complete rewrite.

Distinguishing features:
* Up-to-date with [WebDriver: W3C Editor's Draft 25 Octoberl 2022](https://w3c.github.io/webdriver/)
* Up-to-date with [Selenium 2 JSON Wire Protocol](https://github.com/SeleniumHQ/selenium/blob/trunk/java/src/org/openqa/selenium/remote/DriverCommand.java) (including WebDriver commands yet to be documented).
* In the *master* branch, class names and file organization follow PSR-0 conventions for namespaces.
# W3C WebDriver Client

This "classic" W3C WebDriver client implementation is based on the
[php-webdriver](https://github.com/instaclick/php-webdriver/tree/upstream)
project by Justin Bishop. Originally conceived as a thin wrapper around the
JSON Wire Protocol, the client has been refactored to work with the W3C
WebDriver Protocol, with some fallback/emulation for older drivers. We'll
continue to track changes to the specs but there are no immediate plans to add
WebDriver-BiDi support.

If you are starting a new project (using PHP 7.3 or above), you should
consider using Meta/Facebook's completely rewritten (and more actively
maintained)
[php-webdriver](https://github.com/php-webdriver/php-webdriver).

### Distinguishing features:

* Up-to-date with:
* [WebDriver: W3C Working Draft 14 November 2023](https://www.w3.org/TR/webdriver2)
* [Federated Credential Management API: Draft Community Group Report, 1 December 2023](https://fedidcg.github.io/FedCM/)
* [Web Authentication: An API for accessing Public Key Credentials, Level 2: W3C Recommendation, 8 April 2021](https://www.w3.org/TR/webauthn-2/)
* In the *master* branch, class names and file organization follow PSR-0
conventions for namespaces.
* Coding style follows PSR-1, PSR-2, and Symfony2 conventions.
* Auto-generate API documentation via [phpDocumentor 2.x](http://phpdoc.org/).

[![Latest Stable Version](https://poser.pugx.org/instaclick/php-webdriver/v/stable.png)](https://packagist.org/packages/instaclick/php-webdriver)
[![Total Downloads](https://poser.pugx.org/instaclick/php-webdriver/downloads.png)](https://packagist.org/packages/instaclick/php-webdriver)

Links
=====
## Links

* [Packagist](http://packagist.org/packages/instaclick/php-webdriver)
* [Github](https://github.com/instaclick/php-webdriver)
* [W3C/WebDriver](https://github.com/w3c/webdriver)

Notes
=====
* The *5.2.x* branch is no longer maintained. This branch features class names and file re-organization that follow PEAR/ZF1 conventions. Bug fixes and enhancements from the master branch likely won't be backported.
## Notes

* The *1.x* branch is up-to-date with the legacy
[Selenium 2 JSON Wire Protocol](https://www.selenium.dev/documentation/legacy/json_wire_protocol/).
* The *5.2.x* branch is no longer maintained. This branch features class
names and file re-organization that follow PEAR/ZF1 conventions. Bug fixes
and enhancements from the master branch likely won't be backported.
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,9 @@
"selenium",
"webdriver",
"webtest",
"browser"
"browser",
"test",
"automation"
],
"homepage": "http://instaclick.com/",
"license": "Apache-2.0",
@@ -23,11 +25,11 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=7.2",
"ext-curl": "*"
},
"require-dev": {
"php": ">=7.1",
"php": ">=7.2",
"phpunit/phpunit": "^8.5 || ^9.5"
},
"minimum-stability": "dev",
Loading