Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 979cd6dd1c4604b94b151d6e0ce67ab05fa51f5f 1 parent 1cd02e2
Jarmo Pertman authored September 16, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/watir-classic/container.rb
1  lib/watir-classic/container.rb
@@ -30,6 +30,7 @@ module Container
30 30
     attr_accessor :activeObjectHighLightColor
31 31
     # The PageContainer object containing this element
32 32
     attr_accessor :page_container
  33
+    alias_method :browser, :page_container
33 34
     
34 35
     def copy_test_config(container) # only used by form and frame
35 36
       @typingspeed = container.typingspeed

0 notes on commit 979cd6d

Please sign in to comment.
Something went wrong with that request. Please try again.