Selenium Switch Tabs
问题 Since Firefox does not support Control + T anymore for the tab, I started using driver.execute_script(\"window.open(\'URL\', \'new_window\')\") I am trying to display the title of the different tab I open and switch between them. For the example below, I expect the output to be facebook, google and back to facebook. Right now the output is facebook, facebook and facebook. I tried the answer from here but it also did not work: Switch back to parent tab using selenium webdriver from selenium