Removed duplicate gaurd checks for value reducing cost of calling WebDriver