IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
18.1.1 Browser Controller Objects


18.1.1 Browser Controller Objects

Browser controllers provide two methods which parallel two of the module-level convenience functions:

open( url[, new[, autoraise=1]])
Display url using the browser handled by this controller. If new is 1, a new browser window is opened if possible. If new is 2, a new browser page ("tab") is opened if possible.

open_new( url)
Open url in a new window of the browser handled by this controller, if possible, otherwise, open url in the only browser window. Alias open_new.

open_new_tab( url)
Open url in a new page ("tab") of the browser handled by this controller, if possible, otherwise equivalent to open_new. New in version 2.5.
See About this document... for information on suggesting changes.