I have one more question.
If I don't use browse.show() I just use
String html = (String) page.executeScript("document.documentElement.innerHTML");
to get page's html, do I really need to use "headless" mode?
I have a question please, I am using ui4j to capture screenshots of html snippets, it's always the case that the snippets fill the screen, there will be some image that will take you to another site if you click, how can I click the document without having to selected the img tag. Simply because I don't know how the snippets will be structured and it's not guaranteed there will always be <a href> tag,
I want to be able to click the middle of the viewable screen, how?