I'm trying to automate a script that will read the FireFox
about:config page. To do this I want to put text into the filter
textbox, search for it then search the page for a specific string if
it's there put a pass if not put a fail and run it to a spread sheet.
The problem I am having is I'm being told that the textbox is read
only. I can manually type in the textbox and search for values I just
can't seem to do it using Firewatir. Has anyone else had any
experience with this?

Here is my code so far.

require 'firewatir'
include FireWatir
ff=Firefox.new
ff.goto('about:config')
ff.text_field(:id, 'textbox').set 'browser.chrome.favicons'

The error returned for me is

`assert_not_readonly': Textfield id and textbox is read only.
(Watir::Exception::ObjectReadOnlyException)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to