so let me rephrase my very confusing original comment.

I think that building a locator is more efficient here but maybe I'm missing your use case. I would have thought that if you want to click a radio button with a given value, you do this:

```py
def myradio(value):
  return "//div[@id='myarea']//input[@type='radio' and @value='%']" % text
```

and then you select it by

`click(myradio("myvalue"))`