Mobile Pages

There are a few common patterns for the mobile. These involve navigating around the app and verifying the page the user is on.

class liveobs_ui.page_object_models.mobile.mobile_common.BaseMobilePage(driver)[source]

Base class to initialise the base page that will be called from all pages

find_button_to_select(button_name)[source]

Find a button in the page by name

Returns:the button element on the page
go_to_patient_list()[source]

Navigate to the patient list

go_to_task_list()[source]

Navigate to the task list

is_patient_list()[source]

Are we on the patient list?

Returns:If current URL is the patient list URL
Return type:bool
is_task_list()[source]

Are we on the task list?

Returns:If current URL is the task list URL
Return type:bool
logout()[source]

Log out of the app