Fix null value

> $driver.find_element :xpath, 'text[contains(@name, "Reset"]'
Selenium::WebDriver::Error::JavascriptError: 'null' is not an object (evaluating 'results.value.length')