Skip to content

Using chrome driver #5

Closed
Closed

Description

@lvismer

Does codeceptjs support alternate webdrivers. I tried starting selenium with the chrome driver. I'm on a mac (10.11). I downloaded the chromedriver, downloaded the selenium jar file.

Starting selenium like this:

java -Dwebdriver.chrome.driver="./chromedriver" -jar selenium-server-standalone-2.48.2.jar

Then my codecept.json file

{
  "tests": "./*_test.js",
  "timeout": 10000,
  "output": "./output",
  "helpers": {
    "WebDriverIO": {
      "url": "http://test.localhost",
      "browser": "chrome"
    }
  },
  "include": {},
  "mocha": {},
  "name": "Testing"
}

However when I run $ codeceptjs run it complains about firefox not being installed. I presume selenium by default ships with the firefox driver.

Sorry I am completely new to selenium.

Leon

Activity

  1. petehouston commented on Nov 27, 2015

    @petehouston
    Contributor

    @lvismer it's fixed in the latest commit, and should be working fine now.

    #4

  2. lvismer commented on Nov 28, 2015

    @lvismer
    Author

    @petehouston Thanks, that fixed it for me.

  3. petehouston commented on Nov 28, 2015

    @petehouston
    Contributor

    @lvismer cool to hear about that 👍

  4. DavertMik commented on Nov 28, 2015

    @DavertMik
    Contributor

    I just published a new version with that PR. Please update to 0.1.6

  5. added a commit that references this issue on Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions