I have downloaded PhantomJS and added the code below to my script:

```
Selenium::WebDriver::PhantomJS.path = 'C:\phantomjs-2.1.1-windows\bin\phantomjs.exe'
  @browser = Watir::Browser.new :phantomjs
  @browser.goto "www.samplewebsite.com"

```

Then I getting below error message:

> 
> Watir::Exception::ObjectDisabledException: element present and
>  enabled, but timed out after 30 seconds, waiting for
> 
> 
> "ctl00$ContentPlaceHolder1$Login1$UserName",
> ============================================
> 
> 
> :tag\_name=>"input"}> to not be disabled
> 
> 
> 

Here is the code in the login.rb file:

```
def browser()
    Watir::Wait.until{@browser.text.include? 'Login'}
end

def credentials()
    @browser.wait
    username = @browser.text_field(name:"ctl00$ContentPlaceHolder1$Login1$UserName").send_keys 'abcd123' #Is this line of code showing the error

    password = @browser.text_field(name:"ctl00$ContentPlaceHolder1$Login1$Password").send_keys'Password'
end

```