Chrome의 execute javascript가 페이지 전역을 보지 못하는 이유와, 페이지 쪽에서 코드를 실행하는 방법.
$ osascript -e '… javascript "typeof window.appState"' undefined $ osascript -e '… javascript "document.title"' isolated-world-test
$ gh api -X DELETE repos/<user>/<user>.github.io/pages HTTP 422 → Deactivating GitHub pages for this repository is not allowed.
Pages API 422 응답, 비공개 저장소의 공개 사이트, CNAME 파일로 되살아나는 커스텀 도메인.
$ pgrep -fl "Google Chrome.app/Contents/MacOS" 71191 Google Chrome --no-startup-window 46083 Google Chrome --headless=new → tell application "Google Chrome": 1 window
같은 앱에서 뜬 헤드리스 Chrome이 AppleScript 대상이 되는 문제와 chrome-headless-shell로 분리하는 방법.