from msedge.selenium_tools import Edge, EdgeOptions subprocess.Popen(\'start msedge.exe --remote-debugging-port=9222 --user-data-dir="C:/EdgeTEMP&