-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
HtmlUnitDriver alert handling doesn't handle confirms or prompts #14
Comments
I am starting a branch for making HtmlUnitDriver a |
Here's how I got around it:
|
In The plan is to test the |
For those stuck on
For more info, see my StackOverflow answer. |
Do we have the functionality to driver.switchTo().window(ChildWindow) available in the HtmlUnit driver? Is it possible to get the branch for the same if available? |
@sangeethmani: for different question, please create a new issue. Yes, the method is available, use latest version, and provide more details if you encounter an issue. |
@asashour Just checking in - has the remote branch been merged into master? I'm struggling to find a release that I can use which addresses this issue. The latest available release is 2.27. Should I rather build my own version from the master branch? Thanks |
I cannot find the version 2.27 in the maven repository. Why arn't the latest versions available in the maven repos? |
sorry has the artifact id changed from selenium-htmlunit-driver->htmlunit-driver.. so that's the difference between the 2.52 and the 2.27 version? |
The The latest release is
And there is 2.28-snapshot in here |
I tried just tried the AlertTest (at the top of this issue) using the latest snapshot ( |
I had a local error, Our reference is the build server, and it was green, please check your environment. |
@asashour are you able to get the AlertTest to pass? I've tried with the latest snapshots and still failing, not sure if its because I don't have the right artifacts or not. Thanks! |
Yes, all the |
I'm attaching a simple maven project which uses htmlunit-driver v. 2.28-SNAPSHOT. I've added https://oss.sonatype.org/content/repositories/snapshots as a repository, its pulling down |
There is an error, which needs investigations at HtmlUnit side, please read this
|
Hi @asashour, I think that error might be related to the javascript executed by the www.google.com page that is loaded during the test that I provided previously. To eliminate that as the cause, I modified the test to run using locally generated content only. I still get the test failing with the same error message:
I do notice this warning message on the console: |
Thanks for reporting, |
I logged an issue here: SeleniumHQ/selenium#1373 but since HtmlUnitDriver has moved to the new repository, I was advised to re-log the issue. It has been verified by 2 others. Copied below for convenience:
The text was updated successfully, but these errors were encountered: