pythonのseleniumで、driver.window_handles関数を使用すれば現在開いているタブを全て取得することができる updated: 2025/10/12 created: 2025/10/12