pages.cnx package

Submodules

pages.cnx.contents module

Content pages under CNX.

class pages.cnx.contents.Webview(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pypom.page.Page

A CNX book view.

close_tab()[source]

Close the current tab and switch to the remaining one.

Assumes 2 browser tabs are open.

is_displayed()[source]

Return True if the page is loaded and CNX is in the URL.

property loaded

Override the loaded property.

property location

Return the current URL.

property title

Return the book title.

Module contents