code: public function findElement($locator)
      {
          return $this->findByCss($locator)
              ?: $this->findField($locator)
                  ?: $this->findButton($locator)
                      ?: $this->findByText($locator);
      }
docs: @param string $locator
  Element locator. Can be inaccurate text, inaccurate field label, CSS selector or region name.
  
  @throws NoSuchElement
  
  @return NodeElement