Overview

Namespaces

  • Azalea
    • Selenium
      • App
        • Charts
        • Components
        • Encounters
        • Home
        • Login
        • Main
        • Messages
        • Patients
        • Scheduler
      • Core
      • EHR
        • UI
          • Charts
          • Documents
          • Encounters
          • Home
          • Messaging
            • Folders
          • Patients
          • Payments
          • Precerts
          • Reports
          • Scheduler
          • Settings
            • General
              • Locations
              • Roles
              • Users
        • User
      • Login
        • UI
      • PHR
        • UI
        • User
      • Toolkit
        • Exception
        • Validation
    • Util
  • None
  • tests
    • integration
      • barebones
        • controllers
          • charts
          • patients
          • system
        • models
          • billing
          • encounters
          • examples
          • messaging
          • rcm
          • system
    • unit
      • barebones
        • lib
        • utilities
          • calculations

Classes

  • BaseTestCase
  • Browser
  • Page
  • User
  • View
  • WebDriver
  • Overview
  • Namespace
  • Class

Class WebDriver

Direct known subclasses

Azalea\Selenium\Core\Page, Azalea\Selenium\Core\View

Indirect known subclasses

Azalea\Selenium\EHR\Application, Azalea\Selenium\EHR\EHR, Azalea\Selenium\EHR\UI\Encounters\Encounters, Azalea\Selenium\EHR\UI\Settings\General\Users\UserRow, Azalea\Selenium\EHR\UI\Settings\General\Users\UsersList, Azalea\Selenium\EHR\UI\Settings\General\UsersSection, Azalea\Selenium\EHR\UI\Settings\GeneralTab, Azalea\Selenium\EHR\UI\Settings\InventoryTab, Azalea\Selenium\EHR\UI\Settings\MedicalTab, Azalea\Selenium\EHR\UI\Settings\PatientTab, Azalea\Selenium\EHR\UI\Settings\SchedulerTab, Azalea\Selenium\EHR\UI\Settings\Settings, Azalea\Selenium\EHR\UI\TabContainer, Azalea\Selenium\EHR\UI\Encounters\EncountersTab, Azalea\Selenium\EHR\UI\TabPanel, Azalea\Selenium\EHR\UI\UserAccountMenu, Azalea\Selenium\Login\LoginPage, Azalea\Selenium\Login\ResetPasswordPage, Azalea\Selenium\Login\UI\LoginForm, Azalea\Selenium\Login\UI\ResetPasswordForm, Azalea\Selenium\PHR\Application, Azalea\Selenium\PHR\PHR, Azalea\Selenium\PHR\UI\PopupError, SimpePage, Azalea\Selenium\EHR\UI\Grid, SimpleView, SimpleViewWithArgs, SimpleViewWithNoHash, Azalea\Selenium\EHR\UI\GridRow, Azalea\Selenium\EHR\UI\Heading, Azalea\Selenium\EHR\UI\Home\Home, Azalea\Selenium\EHR\UI\Home\OfficeOverview, Azalea\Selenium\EHR\UI\LockScreen, Azalea\Selenium\EHR\UI\MainMenu, Azalea\Selenium\EHR\UI\MainSearch, Azalea\Selenium\EHR\EMR, Azalea\Selenium\EHR\UI\Messaging\Folders\MessagingAllMail, Azalea\Selenium\EHR\UI\Messaging\Folders\MessagingInbox, Azalea\Selenium\EHR\UI\Messaging\Folders\MessagingSentMail, Azalea\Selenium\EHR\UI\Messaging\Folders\MessagingStarred, Azalea\Selenium\EHR\UI\Messaging\Folders\MessagingTrashed, Azalea\Selenium\EHR\UI\Messaging\Messaging, Azalea\Selenium\EHR\UI\Messaging\MessagingCompose, Azalea\Selenium\EHR\UI\Messaging\MessagingFolder, Azalea\Selenium\EHR\UI\Messaging\MessagingMenu, Azalea\Selenium\EHR\UI\Messaging\MessagingReply, Azalea\Selenium\EHR\PM, Azalea\Selenium\EHR\UI\Messaging\MessagingTab, Azalea\Selenium\EHR\UI\Messaging\MessagingViewMessage, Azalea\Selenium\EHR\UI\Module, Azalea\Selenium\EHR\UI\Notifications, Azalea\Selenium\EHR\UI\Patients\ChartsListRow, Azalea\Selenium\EHR\UI\Patients\ChartsTab, Azalea\Selenium\EHR\UI\Patients\PatientAllergies, Azalea\Selenium\EHR\UI\Patients\PatientAppointments, Azalea\Selenium\EHR\UI\Patients\PatientAssembly, Azalea\Selenium\EHR\UI\Patients\PatientCharts, Azalea\Selenium\EHR\UI\Charts\ChartsList, Azalea\Selenium\EHR\UI\Patients\PatientChartsList, Azalea\Selenium\EHR\UI\Patients\PatientComments, Azalea\Selenium\EHR\UI\Patients\PatientDashboard, Azalea\Selenium\EHR\UI\Patients\PatientDemographics, Azalea\Selenium\EHR\UI\Patients\PatientDocuments, Azalea\Selenium\EHR\UI\Patients\PatientDocumentsList, Azalea\Selenium\EHR\UI\Patients\PatientEncounters, Azalea\Selenium\EHR\UI\Patients\PatientHandouts, Azalea\Selenium\EHR\UI\Patients\PatientInsurance, Azalea\Selenium\EHR\UI\Patients\PatientLabOrders, Azalea\Selenium\EHR\UI\Charts\ChartsListRow, Azalea\Selenium\EHR\UI\Patients\PatientLabOrdersAddView, Azalea\Selenium\EHR\UI\Patients\PatientMedications, Azalea\Selenium\EHR\UI\Patients\PatientPortal, Azalea\Selenium\EHR\UI\Patients\PatientRecalls, Azalea\Selenium\EHR\UI\Patients\Patients, Azalea\Selenium\EHR\UI\Patients\PatientSection, Azalea\Selenium\EHR\UI\Patients\PatientSidebar, Azalea\Selenium\EHR\UI\Patients\PatientsList, Azalea\Selenium\EHR\UI\Patients\PatientsListRow, Azalea\Selenium\EHR\UI\Patients\PatientsListTab, Azalea\Selenium\EHR\UI\Charts\ChartsListTab, Azalea\Selenium\EHR\UI\Patients\PatientsTab, Azalea\Selenium\EHR\UI\Patients\PatientTab, Azalea\Selenium\EHR\UI\Patients\PatientTasks, Azalea\Selenium\EHR\UI\Patients\PatientVitals, Azalea\Selenium\EHR\UI\Payments\EDIRemitsTab, Azalea\Selenium\EHR\UI\Payments\Payments, Azalea\Selenium\EHR\UI\Payments\PaymentsTab, Azalea\Selenium\EHR\UI\Payments\UnappliedPaymentsTab, Azalea\Selenium\EHR\UI\PopupConfirm, Azalea\Selenium\EHR\UI\PopupError, Azalea\Selenium\EHR\UI\CheckboxGrid, Azalea\Selenium\EHR\UI\Precerts\Precerts, Azalea\Selenium\EHR\UI\Precerts\PrecertsTab, Azalea\Selenium\EHR\UI\Reports\AuditLogTab, Azalea\Selenium\EHR\UI\Reports\ClinicalQualityMeasuresTab, Azalea\Selenium\EHR\UI\Reports\ClinicalQualityMeasuresValueSetsTab, Azalea\Selenium\EHR\UI\Reports\MeaningfulUseTab, Azalea\Selenium\EHR\UI\Reports\PatientStatementsTab, Azalea\Selenium\EHR\UI\Reports\RecordsTab, Azalea\Selenium\EHR\UI\Reports\Reports, Azalea\Selenium\EHR\UI\Reports\ReportsQueueTab, Azalea\Selenium\EHR\UI\Documents\Documents, Azalea\Selenium\EHR\UI\Reports\ReportsTab, Azalea\Selenium\EHR\UI\Reports\SystemStatisticsTab, Azalea\Selenium\EHR\UI\Scheduler\AppointmentsRequestsTab, Azalea\Selenium\EHR\UI\Scheduler\AppointmentsTab, Azalea\Selenium\EHR\UI\Scheduler\RecallsTab, Azalea\Selenium\EHR\UI\Scheduler\Scheduler, Azalea\Selenium\EHR\UI\Scheduler\SchedulerTab, Azalea\Selenium\EHR\UI\SelectDropdown, Azalea\Selenium\EHR\UI\Settings\BillingTab, Azalea\Selenium\EHR\UI\Settings\General\GroupsSection, Azalea\Selenium\EHR\UI\Documents\DocumentsTab, Azalea\Selenium\EHR\UI\Settings\General\HandoutsSection, Azalea\Selenium\EHR\UI\Settings\General\InsurancesSection, Azalea\Selenium\EHR\UI\Settings\General\Locations\LocationRow, Azalea\Selenium\EHR\UI\Settings\General\Locations\LocationsList, Azalea\Selenium\EHR\UI\Settings\General\LocationsSection, Azalea\Selenium\EHR\UI\Settings\General\ProvidersSection, Azalea\Selenium\EHR\UI\Settings\General\Roles\RoleRow, Azalea\Selenium\EHR\UI\Settings\General\Roles\RolesList, Azalea\Selenium\EHR\UI\Settings\General\RolesSection, Azalea\Selenium\EHR\UI\Settings\General\Users\UserDetails
Abstract
Namespace: Azalea\Selenium\Core
Located at lib/src/Azalea/Selenium/Core/WebDriver.php
Methods summary
public
# __construct( Azalea\Test\TestCase\BaseTestCase $driver )

Parameters

$driver

Throws

InvalidArgumentException
public Azaea\Test\TestCase\BaseTestCase
# getDriver( )

Returns the Web Driver instance

Returns the Web Driver instance

Returns

Azaea\Test\TestCase\BaseTestCase
public
# setDriver( Azaea\Test\TestCase\BaseTestCase $driver )

Sets the Web Driver instance

Sets the Web Driver instance

Parameters

$driver

Throws

InvalidArgumentException
public array
# getElementsByCss( string $css )

Returns all elements that match the given css selector.

Returns all elements that match the given css selector.

Parameters

$css

Returns

array
public boolean
# exists( string $css,… )

Returns true if an element matching the given css selector exists.

Returns true if an element matching the given css selector exists.

Parameters

$css,…

Returns

boolean
public boolean
# existsById( string $id,… )

Returns true if an element matching the given ID exists.

Returns true if an element matching the given ID exists.

Parameters

$id,…

Returns

boolean
public boolean
# displayed( string $css,… )

Returns true if an element matching the given css selector exists and is visually displayed (not display:none).

Returns true if an element matching the given css selector exists and is visually displayed (not display:none).

Parameters

$css,…

Returns

boolean
public boolean
# displayedById( string $css,… )

Returns true if an element matching the given ID exists and is visually displayed (not display:none).

Returns true if an element matching the given ID exists and is visually displayed (not display:none).

Parameters

$css,…

Returns

boolean
public
# wait( integer $timeout = 2 )

Suspends execution for the given number of seconds.

Suspends execution for the given number of seconds.

Parameters

$timeout
public
# clickAndWait( integer $element, $timeout = 2 )

Clicks the element and then sleeps for a specified number of seconds. Useful for waiting on the UI to update dynamically.

Clicks the element and then sleeps for a specified number of seconds. Useful for waiting on the UI to update dynamically.

Parameters

$element
$timeout
$timeout
public string
# getCurrentHash( )

Gets the current window location's hash value.

Gets the current window location's hash value.

Returns

string
public
# updateHash( string $hash )

Updates the hash fragment in the browser's url.

Updates the hash fragment in the browser's url.

Parameters

$hash
protected boolean
# verify( )

Stub function. Override in child classes.

Stub function. Override in child classes.

Returns

boolean
protected
# spinWait( function $test, integer $timeout = 30 )

Parameters

$test
$timeout

Throws

RuntimeException
public mixed
# __call( string $method, array $args )

Calls the method on the active driver object.

Calls the method on the active driver object.

Parameters

$method
$args

Returns

mixed
Properties summary
protected Azalea\Test\TestCase\BaseTestCase $driver

$driver

$driver

# null
protected integer $timeout

$timeout Timeout for verifying page contents

$timeout Timeout for verifying page contents

# 30
API documentation generated by ApiGen