fluentlenium

Fluentlenium crashes on jquery in play framework

时光怂恿深爱的人放手 提交于 2019-12-12 04:56:10
问题 I want to write Fluentlenium tests but it crashes on jQuery. I use the standard integration into the play framework. I try to get the simple standard example to work. If I run test, get (most importantly) Caused by: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function addEventListener in object [object HTMLDocument]. (http://cg.ch:3333/vassets/lib/jquery/jquery.min.js#2) Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function

Chrome 59 and Basic Authentication with Selenium/Fluentlenium

夙愿已清 提交于 2019-11-27 09:07:06
Chrome 59 has removed support for https://user:password@example.com URLs . I have a test which was using this feature which has now broken, so I'm trying to replace it with a version which waits for the authentication popup and fills in the details. But the following doesn't work on Chrome (which doesn't see the auth popup as an alert): alert().authenticateUsing(new UserAndPassword("test", "test")); The selenium-only version has the same issue: WebDriverWait wait = new WebDriverWait(getDriver(), 10); Alert alert = wait.until(ExpectedConditions.alertIsPresent()); alert.authenticateUsing(new

Chrome 59 and Basic Authentication with Selenium/Fluentlenium

两盒软妹~` 提交于 2019-11-27 04:02:11
问题 Chrome 59 has removed support for https://user:password@example.com URLs. I have a test which was using this feature which has now broken, so I'm trying to replace it with a version which waits for the authentication popup and fills in the details. But the following doesn't work on Chrome (which doesn't see the auth popup as an alert): alert().authenticateUsing(new UserAndPassword("test", "test")); The selenium-only version has the same issue: WebDriverWait wait = new WebDriverWait(getDriver(