When I click at the website "https://www.dhl-geschaeftskundenportal.de" on the anchor "Produkte" (or other) I did not get the wanted site.
Unfortunately I have no access to the sources of the website. So I am not able to provide a minimal test case.
final WebClient webClient = new WebClient(BrowserVersion.FIREFOX_31);
webClient.getOptions().setThrowExceptionOnScriptError(false);
URL url = new URL("https://www.dhl-geschaeftskundenportal.de");
HtmlPage startPage = (HtmlPage)webClient.getPage(url);
String htmlId = "T:sf_topj_id_1:cmds_top_x"; //anchor "Produkte"
HtmlAnchor anchor = (HtmlAnchor)startPage.getElementById(htmlId);
HtmlPage productPage = anchor.click(); //sorry, no productPage; startPage loaded
Uli
Tested again with 2.34.1 but still does not work