How to use widgetVar in Javascript in Selenium in Java with PrimeFaces?
Javascript is working after setting the option: chromeOptions.addArguments("--enable-javascript"); But I am still looking on how to use widgetVar from PrimeFaces to get hold of a PrimeFaces widget. I tried: private static boolean isContentByWidgetVarProDriver(RemoteWebDriver driver, String driverName, String content, String widgetVar)…