H captcha solution in selenium

hello
i have a question
in my target case,when the h-captcha solved,the response of that will innerhtml into a attribute like this (not h-captcha-response id or g-recaptcha-response id,they will keep empty)

2022-08-03 13_00_15-Deutsche Bahn - Login

so how can i put my hcaptcha solved response to this by a ““execute js””??
thanks

Look into this for targetting the iframe element then instead of innerHTML write data-hcaptcha-response

Not tried so its just a suggestion

1 Like

could you please give us an example :pensive: