Contents |
share|improve this answer answered Apr 9 '15 at 15:49 barbolani 312 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 759 Star 8,587 Fork 2,974 playframework/playframework Code Issues 240 Pull requests 34 Projects Not the answer you're looking for? Related 1How can I run Fluentlenium Code inside Selenium Webdriver Firefox Driver?2How can I setup Fluentlenium to run in different browser drivers?0org.openqa.selenium.WebDriverException: ReferenceError: jQuery is not defined2Use Fluentlenium to upload a http://tawish.org/cannot-find/typeerror-cannot-find-function-addeventlistener-in-object.php
In fact this is something that HtmlUnit shouldn't log as it is intentionally from jquery (within a try/catch) block. reply Tweet Search Discussions Search All Groups selenium-users 1 response Oldest Nested Marcelo Damasceno Hi, I resolved the problem using this: WebDriver driver = new HtmlUnitDriver(BrowserVersion.FIREFOX_3_6); ((HtmlUnitDriver) driver).setJavascriptEnabled(true); Em quinta-feira, 21 I use the standard integration into the play framework. Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. check over here
Subscribed! mkurz added defect and removed needs-verification labels Mar 2, 2016 Play Framework member gmethvin commented Mar 2, 2016 Yeah, you also don't have to use the htmlunit driver. Accept & Close Sign In Create Account Search among 990,000 solutions Search Your bugs help others We want to create amazing apps without being stopped by crashes. Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (script in http://www.latimes.com/topic/politics-government/government/barack-obama-PEPLT007408-topic.html from (34, 9) to (44, 2)#42) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4027)
How can the US electoral college vote be so different to the popular vote? To post to this group, send email to [email protected] more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed You signed in with another tab or window.
jBrowserDriver may be a good alternative (it uses WebKit). Reload to refresh your session. After creating the project I was able to "play test" just fine. https://github.com/playframework/playframework/issues/2607 You signed out in another tab or window.
Passing true into constructor is to tell the driver to mimic IE. Already have an account? Not the answer you're looking for? If you would like to refer to this comment somewhere else in this project, copy and paste the following link: RBRi - 2015-11-07 status: pending --> closed If you would
Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example). http://stackoverflow.com/questions/17363075/htmlunitdriver-doesnt-get-the-page-with-browserversion-set-to-chrome Mimsy were the Borogoves - why is "mimsy" an adjective? Selenium "cannot Find Function Addeventlistener" You seem to have CSS turned off. Htmlunit Jquery Assembler for CPU C# TBB updating metadata value How is Anti Aliasing Implemented in Ray Tracing?
In fact, updating to htmlunit > 2.16 does not work at all: [error] Test IntegrationTest.test failed: java.lang.NoClassDefFoundError: org/apache/http/cookie/CommonCookieAttributeHandler, took 2.104 sec [error] at com.gargoylesoftware.htmlunit.httpclient.HtmlUnitBrowserCompatCookieSpec.
Play Framework member jroper commented Apr 7, 2014 Try upgrading to the latest htmlunit, here's the bug, and it looks like it's been fixed: http://sourceforge.net/p/htmlunit/bugs/1536/ So add: "net.sourceforge.htmlunit" % "htmlunit" % Take a tour to get the most out of Samebug. Tired of useless tips? The only workaround I've found is to disable JavaScript on the test driver. http://tawish.org/cannot-find/typeerror-cannot-find-function-set-value-in-object.php Join Now I want to fix my crash I want to help others com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function addEventListener in object [object]. (script in http://myhost:8080/mpt/dummy from (3, 9) to (6, 10)#5)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Marc Guillemot - 2013-09-09 May this be the error occurring while Straight line equation MathSciNet review alert? Can a president win the electoral college and lose the popular vote Is it possible to hand start modern planes?
We recommend upgrading to the latest Safari, Google Chrome, or Firefox. javascript jquery selenium playframework playframework-2.2 share|improve this question edited Dec 23 '15 at 8:30 Peanut 2,15821529 asked Feb 21 '14 at 21:46 ossys 2,71431925 Same problem. or, you can view an alternate view of this site on your current browser by clicking here. Just add "net.sourceforge.htmlunit" % "htmlunit" % "2.20" % "test" to your library dependencies. @wsargent As a dirty workaround javascript was disabled for the integrations tests with jQuery 2.20 - see #5613
Is that is the case that HtmlUnit works for particular browser? Thank you for the quick response. marcospereira added the needs-verification label Sep 3, 2015 Play Framework member marcospereira commented Sep 3, 2015 @shezi could you please provide us a sample project that shows this problem? http://tawish.org/cannot-find/typeerror-cannot-find-function-getstring-in-object.php If you would like to refer to this comment somewhere else in this project, copy and paste the following link: plzdontforcemetocreateanaccout - 2013-09-09 Ok, I made a mistake when testing on
As they state, the JS (and DOM) implementation of the HtmlUnitBrowser is not complete and bugs/problems, like the one you encountered may happen. Will I get the same result if I use 18-55mm lens at 55mm (full zoom) and 55-200mm lens at 55mm (no zoom), if not, then why? In the context of this quote, how many 'chips/sockets' do personal computers contain? All Rights Reserved.
Is there a way to block a President Elect from entering office? Funny thing is, when I change main.scala.html to point to a non-existent Javascript file: [error] c.g.h.h.HtmlPage - Error loading JavaScript from [http://localhost:3333/assets/javascripts/jquery-nonexistent.min.js]. If I insist want to do it in Firefox, I have to replace the HtlmUnitDriver with FirefoxDriver, then only the JSF execution will pass. Your sampel code works fine for me.
Does calling a function that mutates static local variables twice in the same expression lead to undefined behavior? Browse other questions tagged javascript jquery selenium playframework playframework-2.2 or ask your own question. This is as spec'ed, because jquery 2 is not meant to work with older IEs. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 759 Star 8,587 Fork 2,974 playframework/playframework Code Issues 240 Pull requests 34 Projects
Join us to help others who have the same bug. Tired of useless tips? Join them; it only takes a minute: Sign up Fluentlenium crashes on jquery in play framework up vote 0 down vote favorite I want to write Fluentlenium tests but it crashes If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Vernon Singleton - 2015-11-10 I have tried with INTERNET_EXPLORER_11 and FIREFOX_31,
Last edit: Vernon Singleton 2015-11-10 If you would like to refer to this comment somewhere else in this project, copy and paste the following link: RBRi - 2015-10-31 status: accepted --> Assigning only part of a string to a variable in bash Furniture name for waist-high floor-sitting shelf cabinet thing Can an object *immediately* start moving at a high velocity? Limit computation technology in a futuristic society What is this line of counties voting for the Democratic party in the 2016 elections? Please re-open with minimal complete test case.
© Copyright 2017 tawish.org. All rights reserved.