Developpez.com

Python

Choisissez la catégorie, puis la rubrique :

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.
Contacter le responsable de la rubrique Python

Partenaire : Hébergement Web