Releases: instaclick/php-webdriver
Releases · instaclick/php-webdriver
Release Candidate
- move auto-init of curl service (@vibbow)
- php 7.4+ support (@MarvinKlar, @dhinakaran60, @GautierDig)
- update to WebDriver: W3C Editor's Draft 17 June 2021
- session initialization and W3C vs (legacy) WebDriver detection
- refactor Storage classes
- phpcs/phpstan cleanup
Release candidate
Changes:
- Travis CI configuration update
- Add "New Window" endpoint from W3C spec
- fix curl option array and w3c property (#105, @kadse)
- use response's capabilities (if returned) (#99, @GeraldWolfInvia)
- suppress "Transfer-Encoding: chunked" (#96, @mremi)
- tweak preg_quote() fix (refs #91, @stronk7)
- handle W3C in timeout abstraction (#88, @stof)
- fix W3C error strings (#87, @stof)
- add w3c property (#86, @stof)
- dependency injection (#73, @aik099)
- optional curl options, i.e., transient options (#53, @almostdaly)
Release candidate
- Fix error during legacy javascript execution (@shavounet and @CJMCT89)
preg_replace()
requires quoting, especially for PHP 7.3 (@stronk7)
Release candidate
Changes:
- Fixes legacy session->execute($jsonScript) - @stof
Release candidate
Reviewed changes to the latest Candidate Recommendation spec. November 24, 2017.
Update to latest WebDriver spec
WebDriver W3C Candidate Recommendation 26 September 2017
Compat Busters
For newer web drivers that implement the WebDriver W3C candidate recommendation spec
$session->window()
now returns aWebDriver\Window
object for method chaining$element->submit()
,$element->equals()
,$element->displayed()
,$element->location()
,$element->location_in_view()
and$element->size()
are unsupported; refer to$element->click()
,$element->property()
, and$element->rect()
$session->keys()
,$session->orientation()
,$session->alert_text()
,$session->dismiss_text()
,$session->moveto()
,$session->click()
,$session->buttondown()
,$session->buttonup()
,$session->doubleclick()
,$session->execute_sql()
,$session->location()
,$session->browser_connection()
,$session->window_handle()
,$session->window_handles()
, and$session->execute_async()
are unsupported; refer to$session->actions()
,$session->alert()
, and$session->execute()
For older web drivers still using the (legacy) JSON Wire Protocol:
- use
$session->legacyWindow()
instead of$session->window()
Empty response hotfix
1.4.5 more tweaks for #79
Maintenance release
1.4.4 fixes #77 - disable Travis CI functional tests