I am writing a script that has to enter an iframe in order to interact with certain inputs. In this case, the inputs are credit card related.
In Chrome head mode, the script runs perfectly fine. In Chrome headless mode, I always get this error: "Content of the iframe in which the test is currently operating did not load.".
I haven't had this problem in other scripts, so I'm assuming it's because these fields are credit card (payment) related, but I'm not finding anything online that confirm my suspisions.
Can anyone confirm or provide insight and is there a workaround (without changing elements)?
Thank you,