Permalink
Browse files

Add Element#browser method as an alias for Element#page_container.

  • Loading branch information...
1 parent 1cd02e2 commit 979cd6dd1c4604b94b151d6e0ce67ab05fa51f5f @jarmo jarmo committed Sep 16, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/watir-classic/container.rb
@@ -30,6 +30,7 @@ module Container
attr_accessor :activeObjectHighLightColor
# The PageContainer object containing this element
attr_accessor :page_container
+ alias_method :browser, :page_container
def copy_test_config(container) # only used by form and frame
@typingspeed = container.typingspeed

0 comments on commit 979cd6d

Please sign in to comment.