Here is the code:
# new user's channels
$browser.text_field(:id,'channel_id').set channel_id#nd['channel_id']
# new user's degree
$browser.text_field(:id,'degrees').set nd['degree']
# new users place of employment
$browser.text_field(:id,'person_place_of_employment').set nd['employer']
# new user position title
$browser.text_field(:id,'title').set nd['position']
# user photo field
#$browser.input(:id,'photo_field').set
# save button
$browser.div(:class,'form-actions').input(:class,'btn btn-primary').click

Its the click method line,  if it is not in view the click doesn't happen. 

On Friday, June 15, 2012 3:53:24 AM UTC-4, Željko Filipin wrote:
>
> On Thu, Jun 14, 2012 at 9:43 PM, Joe Fl wrote:
> > I am using watir-webdriver and interacting with Firefox.  Its a windows7 
> VM.  It works on my MAC Book Pro without issue.
>
> Please share the code.
>
> This could help:
>
> http://stackoverflow.com/a/9469506/17469
>
> Željko
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to