hdknr / note

Markdown Texts
http://qiita.com/hidelafoglia
7 stars 1 forks source link

WebdriverIO #35

Open hdknr opened 6 years ago

hdknr commented 6 years ago
hdknr commented 6 years ago
ERROR: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: LINUX
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'jessie.local', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.16.0-4-amd64', java.version: '1.8.0_111'
Driver info: driver.version: FirefoxDriver
$ ./node_modules/.bin/selenium-standalone install

----------
selenium-standalone installation starting
----------

---
selenium install:
from: https://selenium-release.storage.googleapis.com/3.4/selenium-server-standalone-3.4.0.jar
to: /vagrant/projects/sample/node_modules/selenium-standalone/.selenium/selenium-server/3.4.0-server.jar
---
chrome install:
from: https://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip
to: /vagrant/projects/sample/node_modules/selenium-standalone/.selenium/chromedriver/2.30-x64-chromedriver
---
firefox install:
from: https://github.com/mozilla/geckodriver/releases/download/v0.16.1/geckodriver-v0.16.1-linux64.tar.gz
to: /vagrant/projects/sample/node_modules/selenium-standalone/.selenium/geckodriver/0.16.1-x64-geckodriver
---
File from https://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip has already been downloaded
---
File from https://selenium-release.storage.googleapis.com/3.4/selenium-server-standalone-3.4.0.jar has already been downloaded
---
File from https://github.com/mozilla/geckodriver/releases/download/v0.16.1/geckodriver-v0.16.1-linux64.tar.gz has already been downloaded

-----
selenium-standalone installation finished
-----

$ ./node_modules/.bin/selenium-standalone start 15:19:02.039 INFO - Selenium build info: version: '3.4.0', revision: 'unknown' 15:19:02.044 INFO - Launching a standalone Selenium Server 2017-07-15 15:19:02.118:INFO::main: Logging initialized @702ms to org.seleniumhq.jetty9.util.log.StdErrLog 15:19:02.314 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform LINUX 15:19:02.317 INFO - Driver provider org.openqa.selenium.edge.EdgeDriver registration is skipped: registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform LINUX 15:19:02.319 INFO - Driver class not found: com.opera.core.systems.OperaDriver 15:19:02.320 INFO - Driver provider com.opera.core.systems.OperaDriver registration is skipped: Unable to create new instances on this machine. 15:19:02.324 INFO - Driver class not found: com.opera.core.systems.OperaDriver 15:19:02.325 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered 15:19:02.333 INFO - Driver provider org.openqa.selenium.safari.SafariDriver registration is skipped: registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform LINUX 2017-07-15 15:19:02.485:INFO:osjs.Server:main: jetty-9.4.3.v20170317 2017-07-15 15:19:02.603:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler@77caeb3e{/,null,AVAILABLE} 2017-07-15 15:19:02.644:INFO:osjs.AbstractConnector:main: Started ServerConnector@7eb45d4{HTTP/1.1,[http/1.1]}{0.0.0.0:4444} 2017-07-15 15:19:02.646:INFO:osjs.Server:main: Started @1230ms 15:19:02.647 INFO - Selenium Server is up and running 15:19:03.217 INFO - SessionCleaner initialized with insideBrowserTimeout 0 and clientGoneTimeout 1800000 polling every 180000 Selenium started


 ~~~bash
$ lsof -i:4444
COMMAND   PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    16008 vagrant   16u  IPv6 203088      0t0  TCP *:4444 (LISTEN)