Match field with class name instead of ID/Name/Label
sashilover
China
Hi @sven, I have trouble in specify values to a certain field which has various names/ids/labels on different websites, so I can't use a fixed or regex expression to locate it...
However, the field has the same class name on all of websites, so I guess if it's possible to match the class name to locate the field and assign a value? if not, how to deal with such situation in the script?
Please advise.
THanks.
However, the field has the same class name on all of websites, so I guess if it's possible to match the class name to locate the field and assign a value? if not, how to deal with such situation in the script?
Please advise.
THanks.
Comments