-
Notifications
You must be signed in to change notification settings - Fork 50
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
com.gargoylesoftware.htmlunit.ScriptException: Exception invoking jsxFunction_getComputedStyle #49
Comments
Appears htmlunit doesn't like something about the javascript. I find it easiest to debug these issues by making htmlunit's logging more verbose. See #50 for being able to configure this, but for now I usually bundle open and then change:
to something like:
The debug level produces a lot (A LOT) of noise, but can definitely help pinpoint where the issue is. |
I receive the same exception when clicking on a link with a data-method="post" attribute. Switching the log-level to debug resulted in:
|
senny, what did you do to get around this? Unfortunately I've stared at this output for an hour to no avail. I'm getting to errors: one in this ticket, and another https://github.com/bernerdschaefer/akephalos/issues#issue/55 |
I didn't have the time to debug the issue any further, I switched back to selenium... |
I have the same error, in view in rspec |
Yeah, I'm getting this when telling capybara to click on a link issuing a POST request. It's not even a JS link. As in: <a href="/therapy_sessions?time=1%3A00+PM" data-method="post" rel="nofollow">1:00 PM</a> |
I get this error if my page tested using akephalos icludes css file that contains: The problem is with child selector: li>.item |
i got this issue and traced it back to a spot where jQuery was being used to modify an element that was not yet attached the DOM. something like:
which i could work around |
Getting this error when trying to run features in Akephalos. I don't have time to investigate this much further, but thought I'd post it here in case it rings a bell.
Using akephalos 0.2.5, edge capybara, fails on both Ruby 1.8.7 and 1.9.2.
Stack trace: http://pastie.org/1549157
The text was updated successfully, but these errors were encountered: