async elements(retryInterval, retryTimeout) {
    return await getIfExists(this._get, this._description)(
      null,
      retryInterval,
      retryTimeout,
    );
  }
@description DOM element getter. Implicitly wait for the element to appears with timeout of 10 seconds.
@param {number} retryInterval Retry Interval in milliseconds (defaults to global settings).
@param {number} retryTimeout Retry Timeout in milliseconds (defaults to global settings).
@returns {Element[]} Array of all elements matching the selector.
@example
// To loop over all the elements
let elements = await $('a').elements();
for (element of elements) {
   console.log(await element.text());
}
@example
textBox('username').value()
(await textBox('username').elements())[0].value() # same as above
@example
$('.class').text()
(await $('.class').elements())[0].text() # same as above
@example
let element = await $('a').element(0);
console.log(await element.text());