Currently I've tried the following asserts, but none of them work as only submit buttons are really remembered in the browser
html page is something like this
<form name=test action=buttontest.php>
<input type=button name=button value=button onclick="alert('Hello World');">
<button type=button name=button2 value=button2 onclick="alert('Hello World 2');">
Unless I've missed something this doesn't seem to be possible (by design ?)
Log in to post a comment.