from selenium import webdriver
from selenium.webdriver import ActionChains
driver = webdriver.Firefox()
driver.get("https://www.google.com")
# open a link in a new window
actions = ActionChains(driver)
about = driver.find_element_by_link_text('About')
actions.context_click(about).send_keys('t').perform()
print(driver.current_url)
driver.switch_to_window(driver.window_handles[-1])
print(len(driver.window_handles))
print(driver.current_url)
I tried to open a link in new tab by right clicking a link and selecting open as new tab but on inspecting the length of window_handles it is only one.So how I could I go to "About" page and why length of browser.handles=1?why not 2?