Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

The new version 3.10 failed to crawl the app version on Google Play.

Aperta
#720 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

Start with the provided Java reproduction using HtmlUnit’s WebClient against the Google Play app page; compare the behavior with version 2.40.0 and inspect how the page handles the “See more information on About this app” click. The reported failure is that the popup’s Version content is absent after the click; done means the reproduction can obtain that content again. The issue has had no comment for months, so check whether work is still wanted before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

js-engine

My requirement is to crawl https://play.google.com/store/apps/details?hl=en&id=com.kubi.kucoin, and then simulate clicking the button "See more information on About this app" on the page to get a pop-up Version inside the box. The old version 2.40.0 can run successfully. After upgrading to google play, the Version cannot be obtained. Tracking found that the pop-up box div after clicking the button "See more information on About this app" is not returned.

code is here:

    WebClient webClient = new WebClient(BrowserVersion.CHROME);
    webClient.setAjaxController(new NicelyResynchronizingAjaxController());
    webClient.setJavaScriptTimeout(10000);
    webClient.setJavaScriptErrorListener(new SilentJavaScriptErrorListener());

    WebClientOptions options = webClient.getOptions();
    options.setCssEnabled(false);
    options.setUseInsecureSSL(true);
    options.setJavaScriptEnabled(true);
    options.setThrowExceptionOnScriptError(false);
    options.setWebSocketEnabled(false);
    options.setTimeout(5000);

    HtmlPage page = webClient.getPage("https://play.google.com/store/apps/details?hl=en&id=com.kubi.kucoin");
    webClient.waitForBackgroundJavaScript(5000);
    webClient.waitForBackgroundJavaScriptStartingBefore(5000);

    String jsCode = "document.getElementsByClassName('VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ QDwDD mN1ivc VxpoF')[0].click();";

    page.executeJavaScript(jsCode);
    webClient.waitForBackgroundJavaScript(10000);
    Document document = Jsoup.parse(page.asXml());
    Element element = document.selectFirst("div:matchesOwn(Version) + div");
    System.out.println(element.ownText());

element is null

Lingua principale
JavaScript
Stelle
952
Fork
183
Merge medio
2g 1h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HtmlUnit/htmlunit

Tutte le issue di HtmlUnit/htmlunit

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.