@Test
public void addHiddenElementsByXxx() throws Exception {

	for (Pair<String, SelectorType> mapping : TYPE_MAPPINGS) {
		ScreenshotArgumentBuilder builder = new ScreenshotArgumentBuilder("ssid");
		ScreenshotArgumentBuilder.class.getMethod("addHiddenElementsBy" + mapping.getKey(), String.class).invoke(
				builder, "value");
		ScreenshotArgument arg = builder.build();
		assertThat(arg.getScreenshotId(), is("ssid"));
		assertThat(arg.getTargets().isEmpty(), is(true));
		assertThat(arg.getHiddenElementSelectors().size(), is(1));
		assertThat(arg.getHiddenElementSelectors().get(0), is(new DomSelector(mapping.getValue(), "value")));
	}
}