lib/Remote/RemoteWebElement.php
public function getSize()
    {
        $size = $this->executor->execute(
            DriverCommand::GET_ELEMENT_SIZE,
            [':id' => $this->id]
        );

        return new WebDriverDimension($size['width'], $size['height']);
    }
public function getSize()
    {
        $size = $this->executor->execute(
            DriverCommand::GET_ELEMENT_SIZE,
            [':id' => $this->id]
        );

        return new WebDriverDimension($size['width'], $size['height']);
    }
public function getSize ( ) { $ size = $ this -> executor -> execute ( DriverCommand :: GET_ELEMENT_SIZE , [ ':id' => $ this -> id ] ) ; return new WebDriverDimension ( $ size [ 'width' ] , $ size [ 'height' ] ) ; }
Get the size of element.

@return WebDriverDimension The dimension of the element.
Get the size of element .