Comments (10)
This will be fixed once PhantomJS 1.5 is out.
from poltergeist.
so phantomJS 1.5 is out now... is there some way to get stack traces?
my app currently fails with "undefined is not a function"...
a stack trace would really clarify what idiot thing i have done.
from poltergeist.
I need to do a new release. I've got some partially finished code for the 1.5 upgrade but there's a bug to iron out. I've been a bit slow to get it done due to real life stuff, but will get it out as soon as I can.
from poltergeist.
that's totally cool, just eager to try it out, been using webkit capybara, and this sounds like a more elegant solution...
from poltergeist.
@jonleighton Now that 0.6
released shouldn't this be closed?
from poltergeist.
Yes, thanks for pointing it out.
from poltergeist.
I'm still getting the issue with poltergeist (0.6.0)
{"error"=>{"name"=>"Poltergeist.BrowserError", "args"=>["TypeError: 'undefined' is not a function", [{"file"=>"/Users/cj/Dropbox/sd/a
cd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compiled/agent.js", "function"=>"", "line"=>
163}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compil
ed/agent.js", "function"=>"", "line"=>68}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/l
ib/capybara/poltergeist/client/compiled/agent.js", "function"=>"", "line"=>11}, {"file"=>"phantomjs://webpage.evaluate()", "function"
=>"", "line"=>2}, {"file"=>"phantomjs://webpage.evaluate()", "function"=>"", "line"=>1}, {"file"=>"phantomjs://webpage.evaluate()", "
function"=>"", "line"=>1}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/polt
ergeist/client/compiled/web_page.js", "function"=>"", "line"=>153}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1
/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compiled/web_page.js", "function"=>"", "line"=>182}, {"file"=>"/Users/cj/Drop
box/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compiled/web_page.js", "function"=>"
", "line"=>28}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/cli
ent/compiled/node.js", "function"=>"", "line"=>17}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeis
t-0.6.0/lib/capybara/poltergeist/client/compiled/browser.js", "function"=>"", "line"=>52}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline
/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compiled/browser.js", "function"=>"", "line"=>41}, {"f
ile"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compiled/browse
r.js", "function"=>"", "line"=>50}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capy
bara/poltergeist/client/compiled/browser.js", "function"=>"", "line"=>92}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/rub
y/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compiled/main.js", "function"=>"", "line"=>24}, {"file"=>"/Users/cj/Dr
opbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist/client/compiled/connection.js", "function
"=>"", "line"=>14}, {"file"=>"/Users/cj/Dropbox/sd/acd/redline/vendor/gems/ruby/1.9.1/gems/poltergeist-0.6.0/lib/capybara/poltergeist
/client/compiled/browser.js", "function"=>"", "line"=>1}]]}}
from poltergeist.
It seems to be when I use capybara's fill_in
method..... the click_button
before doesn't create that error....
from poltergeist.
@cj please could you open a new ticket with details about your issue?
from poltergeist.
@jonleighton done #57
from poltergeist.
Related Issues (20)
- React event not triggered [help] HOT 2
- Capybara::Poltergeist::TimeoutError in some environments HOT 23
- ReferenceError: Can't find variable: Audio HOT 1
- React components not loading HOT 1
- Following jQuery line of code does not work in anything above v1.8.1 HOT 8
- Typo in keys method HOT 1
- Version of JS supported HOT 1
- Broken rails UJS loading when use arrow functions HOT 1
- Timeout occurs causing all following javascript tests to fail. HOT 3
- Capybara::Poltergeist::StatusFailError on 302 redirects with port numbers HOT 2
- Future of Poltergeist HOT 14
- Screenshot is not created HOT 1
- Authz request header missing HOT 5
- User agent does not persist across windows HOT 3
- Capybara::Poltergeist::TimeoutError when running CI tests HOT 7
- current_url returns empty string on about:blank HOT 3
- page.current_path always root HOT 2
- Possible make a method that check if JS Alert exist
- TypeError When dealing with link clicks via Capybara::Session HOT 2
- Capybara::Poltergeist::StatusFailError: failed to reach server (but manually I can connect perfectly) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poltergeist.