Notifications

AddOnInstallBlockedNotification

class firefox_puppeteer.ui.browser.notifications.AddOnInstallBlockedNotification(marionette, window, element)

Bases: firefox_puppeteer.ui.browser.notifications.BaseNotification

Add-on install blocked notification.

allow_button

Provide access to the allow button.

Returns:The allow button.
close(force=False)

Close the notification.

Parameters:force – Optional, if True force close the notification. Defaults to False.
close_button

Provide access to the close button.

Returns:The close button.
element

Returns the reference to the underlying DOM element.

Returns:Reference to the DOM element
label

Provide access to the notification label.

Returns:The notification label.
origin

Provide access to the notification origin.

Returns:The notification origin.
window

Returns the reference to the chrome window.

Returns:BaseWindow instance of the chrome window.

AddOnInstallConfirmationNotification

class firefox_puppeteer.ui.browser.notifications.AddOnInstallConfirmationNotification(marionette, window, element)

Bases: firefox_puppeteer.ui.browser.notifications.BaseNotification

Add-on install confirmation notification.

addon_name

Provide access to the add-on name.

Returns:The add-on name.
cancel_button()

Provide access to the cancel button.

Returns:The cancel button.
close(force=False)

Close the notification.

Parameters:force – Optional, if True force close the notification. Defaults to False.
close_button

Provide access to the close button.

Returns:The close button.
element

Returns the reference to the underlying DOM element.

Returns:Reference to the DOM element
install_button()

Provide access to the install button.

Returns:The install button.
label

Provide access to the notification label.

Returns:The notification label.
origin

Provide access to the notification origin.

Returns:The notification origin.
window

Returns the reference to the chrome window.

Returns:BaseWindow instance of the chrome window.

AddOnInstallCompleteNotification

class firefox_puppeteer.ui.browser.notifications.AddOnInstallCompleteNotification(marionette, window, element)

Bases: firefox_puppeteer.ui.browser.notifications.BaseNotification

Add-on install complete notification.

close(force=False)

Close the notification.

Parameters:force – Optional, if True force close the notification. Defaults to False.
close_button

Provide access to the close button.

Returns:The close button.
element

Returns the reference to the underlying DOM element.

Returns:Reference to the DOM element
label

Provide access to the notification label.

Returns:The notification label.
origin

Provide access to the notification origin.

Returns:The notification origin.
window

Returns the reference to the chrome window.

Returns:BaseWindow instance of the chrome window.

AddOnInstallFailedNotification

class firefox_puppeteer.ui.browser.notifications.AddOnInstallFailedNotification(marionette, window, element)

Bases: firefox_puppeteer.ui.browser.notifications.BaseNotification

Add-on install failed notification.

close(force=False)

Close the notification.

Parameters:force – Optional, if True force close the notification. Defaults to False.
close_button

Provide access to the close button.

Returns:The close button.
element

Returns the reference to the underlying DOM element.

Returns:Reference to the DOM element
label

Provide access to the notification label.

Returns:The notification label.
origin

Provide access to the notification origin.

Returns:The notification origin.
window

Returns the reference to the chrome window.

Returns:BaseWindow instance of the chrome window.

AddOnProgressNotification

class firefox_puppeteer.ui.browser.notifications.AddOnProgressNotification(marionette, window, element)

Bases: firefox_puppeteer.ui.browser.notifications.BaseNotification

Add-on progress notification.

close(force=False)

Close the notification.

Parameters:force – Optional, if True force close the notification. Defaults to False.
close_button

Provide access to the close button.

Returns:The close button.
element

Returns the reference to the underlying DOM element.

Returns:Reference to the DOM element
label

Provide access to the notification label.

Returns:The notification label.
origin

Provide access to the notification origin.

Returns:The notification origin.
window

Returns the reference to the chrome window.

Returns:BaseWindow instance of the chrome window.