I am not able to click the button and go to the next desired page, it stays on the same page.
the page that goes after the click is this: "https://pje.trt13.jus.br/consultaprocessual/consulta-terceiros"
HtmlButton button = page.getFirstByXPath("//button[@name='Consulta Processos de Terceiros']");
button.click();
webClient.waitForBackgroundJavaScriptStartingBefore(10_000);
page = (HtmlPage) page.getEnclosingWindow().getEnclosedPage();
System.out.println("-----------------------------------------------");
System.out.println("- CONSULTANDO PROCESSO...");
System.out.println("-----------------------------------------------");
return page;
but it stays on the same page it was.
I need help with this robot
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too