How to extract Data from JSP applete page from watir ruby and nokogiri
<p>I am trying to scrape a form values with ruby , Watir-webdriver and Nokogiri which has some disabled fields. </p>

<pre><code>&lt;input type="text" value="Would be auto populated based on Requirement ID" class="form-control" id="SkillId" disabled="disabled" name="SkillId"&gt;   
</code></pre>

<p>But in the display it shows the value "<strong>Java, Oracles,Mysql</strong>" </p>

<p>I want to scrap this data i have used the following code </p>

<pre><code>doc.at('input[@name="SkillId"]')['value']
</code></pre>

<p>But it extracts "<strong>Would be auto populated based on Requirement</strong> "</p>

<p>Please help how to extract disabled field Data.</p>

<p>I have tried </p>

<pre><code>doc.at('input[@disabled="disabled"]')
</code></pre>

<p>This gives only disabled field values which has real value but what about when value occurs after removing the disable attribute.</p>

<p><a href="https://i.stack.imgur.com/e2Twh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e2Twh.png" alt="enter image description here"></a></p>