korimo / firewatir

Automatically exported from code.google.com/p/firewatir
0 stars 0 forks source link

print $ff.div(:class, "name") throws error #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.assign a page to $ff
2.in irb> print $ff.div(:class, "name")
3.throws error

What is the expected output? What do you see instead?
the expected output is true i think, but i get this "irb(main):042:0> print
$brwsr.div(:class, "pager")
FireWatir::Exception::UnknownObjectException: Unable to locate object,
using cla
ss and pager
        from
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.1/./MozillaBaseElement.r
b:812:in `assert_exists'
        from
c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.1/./htmlelements.rb:145:
in `to_s'
        from (irb):42:in `write'
        from (irb):42:in `print'
        from (irb):42
        from :0
irb(main):043:0>"

What version of the product are you using? On what operating system?
firewatir 1.1 on win xppro sp2

Please provide any additional information below.

Original issue reported on code.google.com by h4lfl...@gmail.com on 1 Mar 2008 at 5:56

GoogleCodeExporter commented 9 years ago
Can you try this same with Firewatir 1.1.1?

Original comment by ang...@gmail.com on 7 Jul 2008 at 6:17

GoogleCodeExporter commented 9 years ago

Original comment by ang...@gmail.com on 29 Jul 2008 at 9:47