WebDriverAccessor accessor = createWebDriverAccessor();
// register the parameters that this test requires with the
// WebDriverRequest
WebDriverRequest request = accessor.getRequest(context);
HTTPMessageEntities parameters =
HTTPFactory.getDefaultInstance().
createHTTPMessageEntities();
RequestParameter parameter1 = new RequestParameterImpl("name");
parameter1.setValue("fred");
RequestParameter parameter2 = new RequestParameterImpl("request2");
parameter2.setValue("jane");
parameters.add(parameter1);
parameters.add(parameter2);
request.setRequestParameters(parameters);
context.setProperty(WebDriverAccessor.class, accessor, false);
doInContextTest(context,