→自動化
#! python3 import webbrowser firefoxPath = "C:/Program Files/Mozilla Firefox/firefox.exe %s" webbrowser.get(firefoxPath).open(someURL)
DevTools listening on ws://127.0.0.1:62525/devtools/browser/4d3b2f25-f55c-49e1-b02e-c9e4e83408ff [18588:15692:0718/091702.691:ERROR:edge_auth_errors.cc(486)] EDGE_IDENTITY: Get Default OS Account failed: Error: Primary Error: kImplicitSignInFailure, Secondary Error: kAccountProviderFetchError, Platform error: 0, Error string:
from selenium.webdriver.edge.options import Options opt: Options = Options() # selenium 4 opt.experimental_options["excludeSwitches"] = ["enable-logging"]
from subprocess import CREATE_NO_WINDOW svc: Service = Service(driver_path) svc.creationflags = CREATE_NO_WINDOW # コンソールを一瞬表示しないようにする設定
browser.switch_to.alert.accept() //OKの場合 browser.switch_to.alert.dismiss() //NGの場合
EDGE_IDENTITY: Get Default OS Account failed: Error: Primary Error: kImplicitSignInFailure, Secondary Error: kAccountProviderFetchError,