@Test public void testGetChildNodesValuesText() throws WidgetException { wd.open(url); IElement e = new Element("inner1"); String[] actual = e.getChildNodesValuesText(); String[] expected = new String[] {"hello world", "welcome"}; Assert.assertArrayEquals(expected, actual); }