-
Notifications
You must be signed in to change notification settings - Fork 16
Why htmlunit/htmlunitwithjs support has been removed (silently)? #79
Comments
It was removed at 5f0025d. I think it had something to do with the support in Selenium itself, but have to check. I'm currently using jBrowser by default, as that seems to be working as real browser. I think reason was deprecation notice, and that was marked as deprecated in https://github.com/Hi-Fi/robotframework-seleniumlibrary-java/releases/tag/3.14.0.0 |
The driver development has been moved to a separate repo (https://github.com/SeleniumHQ/htmlunit-driver) and the versions are aligned with htmlunit. Also, I see that htmlunit developer is supporting this driver that is good. How hard is to support it? Should I expect that it gets back? :) |
It's not hard, there's just 'copy-paste' to add that back. Longest time is probably needed for Maven Central to make sync with release. |
Fixes #79 Prevented running 'Run Keyword on failure' again, if given keyword fails
@php-coder I think you know HTMLUnit better than me, and can tell if there's an issue with code that makes Robot tests fail. Or is is functioning as should, and HTMLUnit doesn't like to open URLs with "#". Error thrown is:
|
I couldn't answer to the question, unfortunately. Is it a full error message? It looks very short..
@rbri Hi, if you is able to help, we would appreciate it! |
Full stack trace of that issue error I got for those tests mentioned.
Also execution with HTMLUnit is quite verbose, e.g. JS errors etc. |
Will have a look... |
This can be reproduced by running |
Sorry but i'm not familiar with your whole staff...
Cookie with name __atuvc not found. This and the output in htmlunitwithjs_log.html looks like the problem is with the WhatAreCookies test. Now i need our help - for me it looks like the test tries to open http://www.whatarecookies.com/cookietest.asp. But i can't open this url in my real browser because i always get empty repsonses. |
I'm able to open this in Safari. It shows me a page withe the message "Cookies are ENABLED in this browser". |
@rbri Thank you for looking on this! |
Have tested this page with Chrome/FF and IE - all with the same result - no response form the server. |
@rbri Branch has those tests that I was worried about marked as "non-critical", so those fail without failing the build.
So as seen, that one cookie test passes for me, but those 5 failing ones are from AW3Schools. Running just that cqn be quickly done with Statuses of the tests (on console) show "PASS", because those are non-critical (that's what I did when tests were clearly failing because of browser). But summary and HTML repots show things failing. |
BTW: HtmlUnit 2.36.0 is out |
I'm confused that it isn't supported anymore and I'm wondering what was the reason? Also, what should be used instead?
Thank you!
The text was updated successfully, but these errors were encountered: