I installed a watir myself. When I tried the sample, the uninitialized constant windows: API: Error always appeared. This error is returned.
Google, find someone and say it's okay to update Win32 utils gem.
The specific cause is unknown.
Solution:
{
This. style. display = 'none'; document. getelementbyid ('Code _ closed_text_213243 '). style. display = 'none'; document. getelementbyid ('Code _ open_image_213243 '). style. display = 'inline'; document. getelementbyid ('Code _ open_text_213243 '). style. display = 'inline ';
} "Id =" code_closed_image_213243 "> {
This. style. display = 'none'; document. getelementbyid ('Code _ open_text_213243 '). style. display = 'none'; getelementbyid ('Code _ closed_image_213243 '). style. display = 'inline'; getelementbyid ('Code _ closed_text_213243 '). style. display = 'inline ';
} "Id =" code_open_image_213243 "style =" display: none "> Code
Gem update Win32 utils