-
Notifications
You must be signed in to change notification settings - Fork 2
6. is_displayed, is_enabled and is_selected
NaveenS edited this page May 28, 2019
·
5 revisions
- is_displayed()
Whether the element is visible to a user.
- is_enabled()
Returns whether the element is enabled.
Refer transferfund_scenario.py file
- is_selected()
Returns whether the element is selected.
Can be used to check if a checkbox or radio button is selected.
WebDriver facilitates the user with the following methods to check the visibility of the web elements. These web elements can be buttons, drop boxes, checkboxes, radio buttons, labels etc.
-
is_displayed()
-
is_enabled()
-
is_selected()