selenium
selenium copied to clipboard
How to load stealth.min.js
Can't find a way to load stealth.min.js as python does, does anyone know how?
Python code:
with open('./js/stealth.min.js') as f: js = f.read()
browser.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", { "source": js })
I am wondering whether you found a solution for this or not?
I gave up