Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
97 views

I want to get a value that is generated by JavaScript-code and is available in the HTTP-header of a request. Then I want to continue with that webClient as it has cookies and resources loaded. I don't ...
sjngm's user avatar
  • 13k
0 votes
0 answers
42 views

I've been trying to use html unit to authenticate to a page using okta. The html looks like this: I can use getElementById to get the okta-login-container div, but I can't get anything inside of it. ...
carlos palma's user avatar
0 votes
1 answer
35 views

If you go to https://www.to.pima.gov/propertyInquiry/?stateCode=101016140 using Chrome on Windows 11, you will see a fair amount of information. I am trying to get to some of that information using ...
God's Gift To Java's user avatar
0 votes
1 answer
82 views

If you go to https://parcelinquirytreasurer.cochise.az.gov/ , type 3020702601 in the text field and click on Submit, you will see $514.20 at the (4,6) position in a table. If you click on that $514.20,...
God's Gift To Java's user avatar
0 votes
1 answer
68 views

I wrote a scraper on a javascript heavy website (written in angular) and it works perfectly. But now after a few months I get error SEVERE: ERROR Error: Uncaught (in promise) My suspect is when I ...
jonathan tan's user avatar
0 votes
0 answers
22 views

I cannot seem to find anything which lets me progress from this stumbling block, as there doesn't appear to be an 'execute' in JavaScriptExecutor. All suggestions as how I might overcome this ...
Richard Hammond's user avatar
0 votes
1 answer
106 views

I am trying to crawl on this website: https://www.softpedia.com/get/Programming/Other-Programming-Files/Apidog.shtml using HtmlUnit. I want to "click" on the "Download now" button, ...
Daniel Reuveni's user avatar
-1 votes
1 answer
54 views

I am using HtmlUnit Android to scrap data from a website, I am able to create the web client and connect it to the website, but after clicking a button I cannot obtain further elements. In the code, ...
Davido's user avatar
  • 113
0 votes
0 answers
86 views

I am and HTMLUnit newbie and am trying to scrape this website for DATACENTER. I am able to get to the first page and scrape the necessary information. Within the page there is an array of buttons ...
thedigginman's user avatar
-1 votes
1 answer
46 views

I am trying to screen scrap the top news on a particular date of a particular news paper using google search using Html Unit. I am able to get the search results but when I am trying to access the top ...
smart987's user avatar
  • 832
1 vote
1 answer
87 views

I have the following snippet of HTML code: <div class="LocationsIndex__paginationBar__YE2Xo"> <div> <nav> <button class="...
thedigginman's user avatar
-1 votes
1 answer
51 views

If you go to https://parcelinquirytreasurer.cochise.az.gov/ , type 1010501508 in the text field and click on Submit, you will get a new web page (Page 2). There is a mailing address on Page 2. If you ...
God's Gift To Java's user avatar
1 vote
2 answers
311 views

i tried all the options from the stackoverflow site, I'm an intern in programming. Simply indicate how to click. Site: https://calculator888.ru/random-generator/sluchaynoye-slovo Button: <div class=...
Lenny's user avatar
  • 13
0 votes
2 answers
103 views

I'm quite new to HtmlUnit but what I'm trying to do here is as follows we have a crystal server where we need to call to fetch reports we are using Restful APIs that are exposed from crystal server to ...
Munny's user avatar
  • 91
1 vote
1 answer
105 views

I'm using htmlunit with Java, and I'm trying to click a span on a website that should increase a counter and unlock another button, but unfortunately, it is not working. The warning states, that the ...
Jonas Krug's user avatar
0 votes
0 answers
115 views

I use the HtmlUint3 Android library and I want to get the value of a tag element and update it or send a value to it using JavaScript, or the value is set dynamically through JavaScript after the ...
Abdelrhman Hassan's user avatar
0 votes
1 answer
364 views

I'm using HtmlUnit to automate the login process on a website. The website employs a Google reCAPTCHA to protect its login form, and the reCAPTCHA token is hidden in the HTML. I need to obtain and use ...
Abraham Arnold's user avatar
1 vote
1 answer
427 views

I want to scrap a website, but I can't use jsoup because jsoup don't have JavaScript execution. I am trying to run HTMLUnit in my Android app with version: 3.3.0, but in activity class, its not ...
Humayun MHA's user avatar
0 votes
1 answer
116 views

Pardon the long code, but I have been trying to make a web page loader class that can load both static and dynamic pages. The code below works fine with mostly static web pages but it won't load SPA ...
quarks's user avatar
  • 35.7k
0 votes
2 answers
128 views

I'm trying to load a local storage value into the HtmlUnit web client before it loads a specific website: HtmlPage initialPage = webClient.getPage(url); if (httpHeadersSpec != null && ...
quarks's user avatar
  • 35.7k
0 votes
2 answers
99 views

Hello i want to build an app with htmlunit for android (Android Studio). If I try to cget the page of youtube this tooks a lot of seconds (over 10). So that is too slow for user experience... other ...
Dan's user avatar
  • 1
0 votes
1 answer
253 views

I have been trying to upgrade htmlunit (https://www.htmlunit.org/) to version 2.70 from version 2.27. I noticed that the static method HtmlParser.parseHtml() no longer exists. I understand I have to ...
carlos palma's user avatar
1 vote
2 answers
201 views

I'm trying to login to one website, and after entering successfully username and password, and after clicking on submit button, I'm getting the following: 2023-05-27 16:46:41.864 ERROR 296 --- [nio-...
Aleksandar Grujic's user avatar
0 votes
1 answer
296 views

Can anyone please let me know when will HtmlUnit Version 3 will be released in the maven repository?
Nithin's user avatar
  • 381
0 votes
1 answer
241 views

I'm using HTMLUnit that trying to record all requests fired when loading a local html file. This is the testing file below: <script type="text/javascript"> !(function () { var ...
defalt1996's user avatar
2 votes
1 answer
244 views

I am trying to scrap the content (Example Thumbnail picture of a course, price etc.) from an educative website - Udemy, by searching in a general URL string (given below). The source code of the site ...
Abhay Johri's user avatar
0 votes
0 answers
79 views

"show" class is added into modal when modal is trigger to be displayed by button, but unfortunately it is unable to be captured by XPath, showing as null. Java try (final WebClient webClient ...
Error 404's user avatar
  • 107
0 votes
1 answer
191 views

As stated. Used 2 B getting some JS error messages, but able to parse t' page partly now. Still, among some largely generic am seeing the next message: <noscript> &lt;strong&...
Yehor Tiurin's user avatar
0 votes
2 answers
113 views

I'm trying to cast a simple raw HTML string (coming from an AJAX call) to HtmlDivision instance using HtmlUnit library String div = "<div ... /div>" HtmlDivision div = (HtmlDivision) ...
Lucho82's user avatar
  • 174
0 votes
1 answer
130 views

The problem is that I need to extract javascript DOM implementation like window and document variables. I need to do it because DOM is huge and I need only some of the variables to evaluate my code. I ...
frogfromflow's user avatar
0 votes
1 answer
98 views

I am scrapping a website with this workflow process using HtmlUnit library. Goes to root site like www.mysite.com Do login (www.mysite.com/login) Access to a page where table/grid is located (www....
Lucho82's user avatar
  • 174
0 votes
1 answer
103 views

I'm having below entry in pom.xml <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.70.0</version&...
vikramvi's user avatar
  • 3,797
0 votes
1 answer
740 views

Reference: https://devpal.co/blog/web-scraping-with-java-and-htmlunit/ I am doing exactly same steps as mentioned in the blog but getting error java.lang.IllegalArgumentException: Cannot locate ...
vikramvi's user avatar
  • 3,797
0 votes
0 answers
270 views

pom.xml <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.70.0</version> &...
vikramvi's user avatar
  • 3,797
0 votes
0 answers
150 views

Im trying to make a program that goes into google and searches it's contents for programing blogs and the things alike. however when I enter the google domain I get a long error. Im using HtmlUnit and ...
Erasedsword's user avatar
1 vote
2 answers
140 views

If you go to https://eagletw.mohavecounty.us/treasurer/treasurerweb/search.jsp using Firefox on Linux, you will see that you can browse the website just fine. But when I compile and run the following ...
God's Gift To Java's user avatar
1 vote
1 answer
69 views

If you go to https://taxtest.navajocountyaz.gov/Pages/WebForm1.aspx?p=1&apn=205-27-014 view page source and search for grdCPhist in the page source, you won't find it. But, if you click on Taxes, ...
God's Gift To Java's user avatar
0 votes
1 answer
76 views

I am trying to extract three separate strings from: https://taxtest.navajocountyaz.gov/Pages/WebForm1.aspx?p=1&apn=103-03-122 The owners names: Johnson Tommy A & Nell H Cprs The owners street ...
God's Gift To Java's user avatar
2 votes
1 answer
439 views

I have downloaded the latest release of HtmlUnit (released on January 5, 2023), along with all of its dependencies, and put it in /opt/htmlunit_2.69.0 I have been, so far unsuccessfully, trying to ...
God's Gift To Java's user avatar
0 votes
1 answer
74 views

I have a problem when trying to reach a final page (after log in) when using HTMLUNIT (version 2.67.0) When I debug my code (line by line), I can put my e-mail and password and go the final page after ...
gbossa's user avatar
  • 569
0 votes
1 answer
89 views

My Issue: I am attempting to download all files located here (https://mft.rrc.texas.gov/link/1bf41875-3edd-4660-8ec5-b4cd15880563) using Java/HtmlUnit. (Each 'download' is a returned as a .zip ...
OGmaps's user avatar
  • 121
0 votes
1 answer
72 views

I want to simulate clicking on a button in a Learning Management System, Schoology, in order to change a setting on an assignment I'm creating using Java and HtmlUnit. When I get the element and click ...
scott's user avatar
  • 1
0 votes
1 answer
116 views

I am using HtmlUnit on my android project: implementation 'net.sourceforge.htmlunit:htmlunit:2.15' I am simply try to get a webpage: private final static String LOGIN_URL = "https://sso....
zaxunobi's user avatar
  • 960
1 vote
1 answer
349 views

So, I am trying to access a website (using Java Htmlunit - version 2.20 - can´t update it, company policies) - it is a government website - https://www2.aneel.gov.br:443/aplicacoes_liferay/tarifa/ - ...
gbossa's user avatar
  • 569
0 votes
1 answer
127 views

I am using HtmlUnit on my android project: implementation group: 'net.sourceforge.htmlunit', name: 'htmlunit-android', version: '2.67.0' I am simply try to get a webpage: private final static String ...
zaxunobi's user avatar
  • 960
1 vote
0 answers
405 views

Tried to create a test using HTMLUnit for Confluence and had to login. But getting error that 'Javascript load error'. I am quite new to HTMLUnit and have only basic knowledge. Tried for Chrome, ...
ratul_010's user avatar
0 votes
1 answer
157 views

I am having trouble retrieving the list of Dom Elements when using the method getElementsByName from HtmlPage. Here is the HTML Page. (Trying to get the CategoriaAgente from the select tag). HTML (The ...
gbossa's user avatar
  • 569
1 vote
0 answers
180 views

I tried to use HtmlUnit to scrape the webpage of https://www.maersk.com/tracking/ I already set webClient.getOptions().setJavaScriptEnabled(true); String url = "https://www.maersk.com/...
Derek Zhang's user avatar
1 vote
0 answers
734 views

I have a HtmlUnit "script" that has been running for months, but started to fail about a week ago. Some changes were most probably made on the backend of the web site targeted by my script, ...
Martin's user avatar
  • 475
0 votes
0 answers
52 views

So this is my first question here after reading like hundreds of threads in this forum :D. I want to click an HtmlAnchor with HtmlUnit and retrieve the underlying url. Maybe I am using the wrong ...
Felix Steindorff's user avatar

1
2 3 4 5
37