The Browser Object Interface in Grail


Introduction

TBD

Object Interface

browser.load(url)
Like context.load(url) but loads the new document in the browser's top-level browser.

browser.message(string)
Display a message in the browser's message area.

browser.valid()
Returns true if the browser is still valid, false if the browser has been deleted by the user (certain callbacks may execute after a browser has been deleted; they can use this method to test to see whether they should go away).

browser.get_async_image(url)
A backwards compatible version of context.get_async_image(url).

browser.reload_command()
Execute the browser's "Reload" command.

browser.new_command()
Execute the browser's "New Window" command. Return the new Browser object.

browser.clone_command()
Execute the browser's "Clone Window" command. Return the new Browser object.