Skip to content

Match field with class name instead of ID/Name/Label

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.



Comments

  • SvenSven www.GSA-Online.de
    you can try using something like this...

    add fixed data=%my_varname%=SOMTHING
    add fixed data condition=class="something"

    [my_varname]
    type=extract
    front=...
    back=...


Sign In or Register to comment.