power shell

イシュー

参考

基本的なこと

現在、Cドライブにいて、c:¥tools¥selenium を参照したい場合は、

ls /tools/selenium
PS C:\tools\selenium> Java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone.jar -port 4444
エラー: メイン・クラス.chrome.driver=chromedriver.exeが見つからなかったかロードできませんでした
PS C:\tools\selenium> java -jar ./selenium-server-standalone.jar -port 4444
18:16:07.158 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.14.0', revision: 'aacccce0'
18:16:07.158 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-09-01 18:16:07.267:INFO::main: Logging initialized @533ms to org.seleniumhq.jetty9.util.log.StdErrLog
18:16:07.548 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
PS C:\Users\Administrator\Documents\Workspace\temp> composer --version
Composer version 1.7.2 2018-08-16 16:57:12
PS C:\Users\Administrator\Documents\Workspace\temp> composer require facebook/webdriver
Using version ^1.6 for facebook/webdriver
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for facebook/webdriver ^1.6 -> satisfiable by facebook/webdriver[1.6.0].
    - facebook/webdriver 1.6.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.

  To enable extensions, verify that they are enabled in your .ini files:
    - C:\tools\php72\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Installation failed, deleting ./composer.json.
PS C:\Users\Administrator\Documents\Workspace\temp> php --ini
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File:         C:\tools\php72\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)
PS C:\Users\Administrator\Documents\Workspace\temp>