I need check which button i have in my form. (button or submit). How can i do this?
Perhaps try something along these lines:
$yourVariable = $this->getModule('WebDriver')->_findElements('[button selector]');$yourVariable->getAttribute("type");
Edit: did a little test on my side, seems to be working as intended: