* @param pseudoElement button type (expressed as style pseudo-element).
* @return rendered button element.
*/
private Element renderButton(PseudoElement pseudoElement) throws ProtocolException {
// get button attributes for given pseudo elements
ActionName actionName = (ActionName)pseudoElementsActions.get(pseudoElement);
// buttonAttributes contains only action reference for given button
// action is used for creating fresh button attributes with
// unique id.
// buttonAttributes can contains also more data than action reference