When there are 2 "name" fields, only one of which is visible at any one time, fill('field-name') fails because it finds them both. You have to do something like fill(findAll('field-name')[0]) or some such.
Maybe...
have fill(..) only work on visible fields. Or something else.
When there are 2 "name" fields, only one of which is visible at any one time, fill('field-name') fails because it finds them both. You have to do something like fill(findAll('field-name')[0]) or some such. Maybe... have
fill(..)
only work on visible fields. Or something else.