Provide a way to use SampleResult in webdriver sampler