public getCSSProperty ( string $propertyName ) : String | ||
$propertyName | string | |
return | String |
public function getCSSProperty($propertyName)
{
$params = array('element_id' => $this->getElementId(), 'property_name' => $propertyName);
$command = new Commands\Command($this->_driver, 'element_property_name', null, $params);
$results = $command->execute();
return $results['value'];
}