Giter VIP home page Giter VIP logo

webdriverio's People

Contributors

jaqua avatar stevevega avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webdriverio's Issues

ERROR: Error forwarding the new session....

When i downloaded complete repository with example test (after running run) - i got:

ERROR: Error forwarding the new session Empty pool of VM for setup Capabilities [{rotatable=true, locationContextEnabled=true, loggingPrefs=org.openqa.selenium.logging.LoggingPreferences@81ee3f7, browserName=firefox, javascriptEnabled=true, handlesAlerts=true, requestOrigins={name=webdriverio, version=4.6.2, url=http://webdriver.io}}]

instructions don't work because there is no bash

At the bottom of the README.md, there's a note that says this:

Or you can add a sleep time to make sure the hub is ready: docker-compose run --rm webdriverio bash -c "sleep 10 && wdio".

However, since your Dockerfile specifies node:8.9-alpine, there is no bash. So this command gets this error message:

Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: "bash": executable file not found in $PATH": unknown

Update and minimize image

I'm not quite sure, why using a complete NodeJS image, which results in a image size of 760MB. Using node alpine version just has 167 MB.

I created a PR (#9) with it and also updated it to latest LTS version (8.9.0)

Worth adding to "readme" / troubleshoot

I would also add :

Command docker logs will tell you if you have any issues with your grid.
Remove old versions of selenium dockers (it was messing with my installation).

docker-compose.yml is missing HUB_PORT_4444_TCP_PORT environment variable

The docker-compose.yml provided in GitHub has two errors in it. These cause this error when running the container:

ERROR: Error forwarding the new session Empty pool of VM for setup Capabilities {browserName: chrome, handlesAlerts: true, javascriptEnabled: true, locationContextEnabled: true, loggingPrefs: org.openqa.selenium.logging..., requestOrigins: {name: webdriverio, url: http://webdriver.io, version: 4.14.1}, rotatable: true}

The problem is that the environment sections need to have this:

HUB_PORT_4444_TCP_PORT=4444

Otherwise, the script that starts the selenium standalone jar file specifies a URL to connect to the HUB which is invalid, and the chrome and firefox containers can't establish a connection to the hub.

The example docker-compose.yml that's shown in README.md doesn't have this problem. It does specify HUB_PORT_4444_TCP_PORT. But the docker-compose.yml is missing that line.

Trying to use your package

When i run docker-compose run --rm webdriverio wdio
"configuration helper" starts (i anwer questions) and it tries to install webdriverio locally.

When i put conf file, it either cannot find tests or additional packages.
Is there any way you could explain me how can i make this work ? :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.