You can perform specific browser page actions provided by BrowserPageAction
enum.
Eg :- To refresh browser, call BrowserPage#performBrowserPageAction
as follows
browserPage.performBrowserPageAction(BrowserPageAction.RELOAD.getActionByteBuffer());
It's also possible to execute custom JavaScript code by this method, eg:- browserPage.performBrowserPageAction(
BrowserPageAction.getActionByteBufferForExecuteJS("alert('executed script');"));
Subscribe on youtube for technical videos