I try to use getAllLinksOnCurrentPage() to get all the links from opened webpage.
list = WebUI.getAllLinksOnCurrentPage(true, [])
for(int i=0;i<list.size();i++){
_ System.out.println(list.get(i));_
}
It doesn’t print any elements of list, but I see in logs: Found 20 elements.
Is it possible to get links from all the pages recursively?