Selelnium - Python | Date of Birth fields by using Label
问题 I would like to create GENERIC python code which will fill in the day, month and year to the correct field. BUT not sure how to. In the first example, we can see that we have a linkage between label and input by using for parameter (BUT we need to take for parameter from the label and somehow check if it will contain DAY, MONTH and e.t.c..) In the second example, we can see that input does not have any IDs, by the span wrapper. So we can link label with span and then somehow by using