Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefoxdriver and ios doesn't work #157

Open
Lycidias opened this issue May 5, 2015 · 2 comments
Open

Firefoxdriver and ios doesn't work #157

Lycidias opened this issue May 5, 2015 · 2 comments

Comments

@Lycidias
Copy link

Lycidias commented May 5, 2015

Hey,

I just installed Nodejs, so it should be the newest version. Then I installed Dalek and followed the instructions from the Website.

In PhantomJs everything worked.

Firefox doesn't work correctly after instalation of firefoxdriver

When i start my test (which works with PhantomJs) with the additional parameters "-b firefox"
so: dalek mytest.js -b firefox

following error appears:
$ dalek mytest.js -b firefox
Running tests

ERROR: dalek-browser-firefox: Error starting WebDriverServer, port 9006 in use

I googled a bit and found the fix and changed: \node_modules\dalek-browser-firefox\node_modules\portscanner\lib\portscanner.js on line 66 from 400 to 4000.

Now the test opens firefox but nothing more happens and the test doesn't run... looks like that:
$ dalek mytest.js -b firefox
Running tests
Running Browser: Mozilla Firefox

then nothing happens and the browser window stays white..

And another litle point:
The report-installation or first-use of the report tool doesn't work correct.

Here is what i did:
npm install dalek-reporter-html --save-dev
(installed it correctly without faults, then:)

$ dalek mytest.js -r console,html
Running tests
Running Browser: PhantomJS
OS: windows 7 32bit
Browser Version: 1.9.8

RUNNING TEST - "Page title is correct"

OPEN http://google.com

  • TITLE It has title
  • 1 Assertions run
  • TEST - "Page title is correct" SUCCEEDED

1/1 assertions passed. Elapsed Time: 1.43 sec
->
Report type "html" written to "report/dalek"

ERROR: Error: ENOENT, no such file or directory 'c:\dalekjs\report\dalek\details'

So it doesn't create the folders automatically. After i created the folder report/dalek/details by hand it works..

Would be happy if you guys can help me with my Firefoxdriver! :)

Greetings

@Lycidias Lycidias changed the title Can't Install Chrome-Browser and Firefox buggy Firefox doesn't work May 7, 2015
@Lycidias Lycidias changed the title Firefox doesn't work Firefoxdriver doesn't work May 7, 2015
@Lycidias
Copy link
Author

Lycidias commented May 7, 2015

Update: with Firefox v.28 the test runs but doesn't work.. for example the assertion.title doesn't work.

Is there any stable Firefoxversion, where the test a) runs and b) most actions and assertions are working?

@Lycidias Lycidias changed the title Firefoxdriver doesn't work Firefoxdriver and ios doesn't work May 7, 2015
@Lycidias
Copy link
Author

Lycidias commented May 7, 2015

The ios driver doesn't seem to work.
Here is the code:
$ dalek mytest.js
Running tests
Port must be greater than 0 and less than 65536
Invalid argument for param callbackPort: undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant