jackfitz 2 Posted May 17, 2010 Report Share Posted May 17, 2010 I am trying to click variations of a submit button on sites in different languages.e.g.<INPUT class=button value=Fortsätt type=submit><INPUT class=button value=مرØÂبا type=submit><INPUT class=button value=ÿрыòітðýýõ type=submit><INPUT class=button value=你好 type=submit> I can't use the wild card *type=submit* or *class=button* as there are other elements on the page which use the same code. I am wanting to write some Regular Expression to handel this button. I have read about Regex for a few hours, it is going in one ear and out the other. If anyone knows how to do this please help. Quote Link to post Share on other sites
webautomationlab 21 Posted May 17, 2010 Report Share Posted May 17, 2010 See if you can select the tag above the input tag. Then you can use a wildcard on the OUTERHTML which *should* be unique from the other input fields. Quote Link to post Share on other sites
jackfitz 2 Posted May 17, 2010 Author Report Share Posted May 17, 2010 That worked a treat, thanks for the suggestion Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.