Skip to content

HtmlUnit setJavaScriptTimeout returns immediately #256

@sowjanyaboddeti

Description

@sowjanyaboddeti

Eg URL: https://www.tdsinc.com/investor-relations/financials/quarterly-results/default.aspx

Using 2.44 HtmlUnit version, I have tried getting the entire page with webClient.getPage(url), the page was returned immediately though the following options are set:
webClient.waitForBackgroundJavaScript(100000); webClient.setJavaScriptTimeout(20000);

While, I added an explicit Thread.sleep(3000) //3s after calling webclient.getPage(url) returned me the entire page. Is this expected or is there something I am missing out.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions