HSTS

I am trying to create script on cloud application protected by HSTS. 

I unable to record script bc its protected by HSTS. any alternative option.?

I tried using TLS 2 and 3 but no luck.

WOuld disabling HSTS on IE work?