Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stigkj/ghostdriver_reproduction_of_isshown_bug
https://github.com/stigkj/ghostdriver_reproduction_of_isshown_bug
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stigkj/ghostdriver_reproduction_of_isshown_bug
- Owner: stigkj
- Created: 2013-08-21T11:59:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-21T12:32:06.000Z (over 11 years ago)
- Last Synced: 2023-04-11T10:55:53.041Z (almost 2 years ago)
- Language: Groovy
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Reproduce error in get_text.isShown(...)
========================================This will reproduce the error reported in [ghostdriver (#254)](https://github.com/detro/ghostdriver/issues/254) for version 1.0.4.
Setup
-----**Prerequisites:**
* *Ruby >= 1.9*
* *Groovy >= 1.8***Install Ruby dependencies**
bundle install
Run it
------1. Start the web server listening on default port 4567
bundle exec ./web_server.rb
2. Run phantomjs in webdriver mode listening on default port 8910,
either with the embedded ghostdriver or using an external version
* `phantomjs --webdriver=8910`
* `phantomjs `3. Run the driver groovy script
groovy drive_phantomjs.groovy
When successful, the driver script should print the text 'should return this' on the console.
NB! The driver script should download dependencies by it self, courtesy of Groovy's Grape.
If this does not work, try to clear your local Maven repository.