LoginSignup
1
1

More than 3 years have passed since last update.

selenium php-webdriver update

Posted at
$composer update 
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Package facebook/webdriver is abandoned, you should avoid using it. Use php-webdriver/webdriver instead.
Generating autoload files

version 1.8.0 から名前が facebook/php-webdriver から php-webdriver/webdriverに変わりました
jsonを書き換えます

composer.json
"require": {
-    "facebook/webdriver": "^1.7.1",
+    "php-webdriver/webdriver": "^1.8.0",
}

アップデートすれば新しいバージョンが入ります

$ composer update 
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 1 update, 1 removal
  - Removing facebook/webdriver (1.7.1)
  - Updating symfony/process (v4.4.4 => v5.0.4): Downloading (100%)         
  - Installing symfony/polyfill-mbstring (v1.13.1): Downloading (100%)         
  - Installing php-webdriver/webdriver (1.8.0): Downloading (100%)         
php-webdriver/webdriver suggests installing ext-SimpleXML (For Firefox profile creation)
Writing lock file
Generating autoload files

github php-webdriver
https://github.com/php-webdriver/php-webdriver

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1