I'm using python selenium to automate data input on a website, The issue is that one of the fields is set to have a max length of characters "30",
<input data-qa="input-LogId" data-testid="input-LogId" name="LogIDs" type="text" class="input-group__input " maxlength="30" value="QXSI-2198372-12">
I have inputs that are longer than 30 characters so I wanted to know what is the way to automate changing the element attribute before using selenium .sendkeys in that field.
I have checked a similar question but it's not really helping me
Thank you