class Browser::Window

{Window} instances are {Native} objects used to wrap native window instances.

Generally, you will want to use the top level {::Window} instance, which wraps `window` from the main page.

Public Instance Methods

history() click to toggle source

@!attribute [r] history @return [History] the history for this window

# File lib/wedge/plugins/history.rb, line 22
def history
  History.new(`#@native.history`) if `#@native.history`
end
location() click to toggle source

@!attribute [r] location @return [Location] the location for the window

# File lib/wedge/plugins/location.rb, line 74
def location
  Location.new(`#@native.location`) if `#@native.location`
end