Skip to content
This repository was archived by the owner on Sep 3, 2020. It is now read-only.
This repository was archived by the owner on Sep 3, 2020. It is now read-only.

Instructions for setting up selenium #82

@gprasant

Description

@gprasant

OS: OS X 10.8.5
node : v0.10.26
testium: v1.7.0
chrome: v35.0.1916.153


I tried to setup testium from the project homepage. When I try to run a basic testium CLI instance, I get an error saying that selenium.jar is not valid. Here's a command log :

➜  tmp  ./node_modules/.bin/testium

/Users/pguruprasad/tmp/node_modules/testium/lib/cli/console.js:70
        throw error;
              ^
Error: Process "selenium" crashed. See log at: /Users/pguruprasad/tmp/node_modules/testium/lib/cli/../../log/selenium.log.
    at procError (/Users/pguruprasad/tmp/node_modules/testium/lib/selenium/process/port.js:47:13)
    at /Users/pguruprasad/tmp/node_modules/testium/lib/selenium/process/port.js:64:19
    at Socket.<anonymous> (/Users/pguruprasad/tmp/node_modules/testium/node_modules/portscanner/lib/portscanner.js:81:5)
    at Socket.EventEmitter.emit (events.js:95:17)
    at TCP.close (net.js:465:12)
➜  tmp  cat /Users/pguruprasad/tmp/node_modules/testium/lib/cli/../../log/selenium.log
[SERVICE] 13:11:24.718 - Starting selenium
[SERVICE] 13:11:24.725 - waiting for selenium to listen on port 4444
Error: Invalid or corrupt jarfile /Users/pguruprasad/tmp/node_modules/testium/bin/selenium.jar

Can you please provide instructions to setup up a working instance of selenium because the instructions provided on this project's repo dont seem to make a correct installation of selenium.

I also made sure that I am using the latest selenium server and selenium chrome driver :

➜  tmp  ./node_modules/.bin/testium --update-selenium
[testium] grabbing selenium standalone server 2.41.0
[testium] grabbing selenium chromedriver 2.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions