-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update per W3C spec. Pruning legacy cruft.
- Loading branch information
Showing
79 changed files
with
2,879 additions
and
2,096 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.