lib/Remote/RemoteWebElement.php
public function getAttribute($attribute_name)
    {
        $params = [
            ':name' => $attribute_name,
            ':id' => $this->id,
        ];

        return $this->executor->execute(
            DriverCommand::GET_ELEMENT_ATTRIBUTE,
            $params
        );
    }
public function getAttribute($attribute_name)
    {
        $params = [
            ':name' => $attribute_name,
            ':id' => $this->id,
        ];

        return $this->executor->execute(
            DriverCommand::GET_ELEMENT_ATTRIBUTE,
            $params
        );
    }
public function getAttribute ( $ attribute_name ) { $ params = [ ':name' => $ attribute_name , ':id' => $ this -> id , ] ; return $ this -> executor -> execute ( DriverCommand :: GET_ELEMENT_ATTRIBUTE , $ params ) ; }
Get the value of a the given attribute of the element.

@param string $attribute_name The name of the attribute.
@return string|null The value of the attribute.
Get the value of a the given attribute of the element .