original_string: protected function get_node_in_container($selectortype, $element, $containerselectortype, $containerelement) {
  
          // Gets the container, it will always be text based.
          $containernode = $this->get_text_selector_node($containerselectortype, $containerelement);
  
          list($selector, $locator) = $this->transform_selector($selectortype, $element);
  
          // Specific exception giving info about where can't we find the element.
          $locatorexceptionmsg = $element . '" in the "' . $containerelement. '" "' . $containerselectortype. '"';
          $exception = new ElementNotFoundException($this->getSession(), $selectortype, null, $locatorexceptionmsg);
  
          // Looks for the requested node inside the container node.
          return $this->find($selector, $locator, $exception, $containernode);
      }
code: protected function get_node_in_container($selectortype, $element, $containerselectortype, $containerelement) {
  
          // Gets the container, it will always be text based.
          $containernode = $this->get_text_selector_node($containerselectortype, $containerelement);
  
          list($selector, $locator) = $this->transform_selector($selectortype, $element);
  
          // Specific exception giving info about where can't we find the element.
          $locatorexceptionmsg = $element . '" in the "' . $containerelement. '" "' . $containerselectortype. '"';
          $exception = new ElementNotFoundException($this->getSession(), $selectortype, null, $locatorexceptionmsg);
  
          // Looks for the requested node inside the container node.
          return $this->find($selector, $locator, $exception, $containernode);
      }
code_tokens: protected function get_node_in_container ( $ selectortype , $ element , $ containerselectortype , $ containerelement ) { // Gets the container, it will always be text based. $ containernode = $ this -> get_text_selector_node ( $ containerselectortype , $ containerelement ) ; list ( $ selector , $ locator ) = $ this -> transform_selector ( $ selectortype , $ element ) ; // Specific exception giving info about where can't we find the element. $ locatorexceptionmsg = $ element . '" in the "' . $ containerelement . '" "' . $ containerselectortype . '"' ; $ exception = new ElementNotFoundException ( $ this -> getSession ( ) , $ selectortype , null , $ locatorexceptionmsg ) ; // Looks for the requested node inside the container node. return $ this -> find ( $ selector , $ locator , $ exception , $ containernode ) ; }
docstring: Gets the requested element inside the specified container.
  
  @throws ElementNotFoundException Thrown by behat_base::find
  @param mixed $selectortype The element selector type.
  @param mixed $element The element locator.
  @param mixed $containerselectortype The container selector type.
  @param mixed $containerelement The container locator.
  @return NodeElement
docstring_tokens: Gets the requested element inside the specified container .