Tag: Elements
Disabling Form Elements in Moodle/Totara
Here we will discuss how to disable form elements based on conditions in moodle/totara. We are creating a form in moodle/totara by extending “moodleform” class and overriding the definition() method to including the form elements. For example: If you want
XPath for Selenium Webdriver
XPath XPath in simple terms is a way of finding an element(s) in an HTML DOM by giving its path. It is useful when name or id etc is not available to be directly used to find the element. The
Get the List of Elements in Selenium Script
How to Get the List of Elements in Selenium Script? List is the collection of similar type of data. You can add, remove, iterate over stuff and can also query how much data is in the List. Java.util.List is a