For example, if the button name is Log in, then the DOM id of generated button is deformLog in, which is invalid.
Fix generated form button id could be invalid problem
Can you add a test for this case?
add a test for button id fix
added a test for this Button id fix