JTAF-ExtWebDriver
JTAF-ExtWebDriver copied to clipboard
NPE @DefaultExtWebDriver.java line #295
if (currentWindowIds == null && currentWindowIds.size() > 0)
Fixed to
if (currentWindowIds != null && currentWindowIds.size() > 0)
Actually, seems not logical at all. I changed to the code to: if (currentWindowIds == null) { throw new NullPointerException( "WebDriver returned a null set of WindowIds to storeCurrentWindowIds()"); }
Removed the unreachable throw new StaleWindowIdListException .
Someone needs to double verify the original intention of the code !!