pages.amazon package

Submodules

pages.amazon.home module

An Amazon book order landing page.

class pages.amazon.home.Amazon(driver, base_url=None, timeout=10, **url_kwargs)[source]

Bases: pypom.page.Page

An Amazon book order page.

URL_TEMPLATE = 'https://www.amazon.com/'
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 main content is loaded.

property loaded

Return True if Amazon is in the current URL.

property location

Return the current URL.

Module contents