Answers for "How to open a new tab using Selenium WebDriver in Python?"

3

selenium python activate new tab

# Open a new window
browser.execute_script("window.open('');")# Switch to the new window and open URL B
browser.switch_to.window(browser.window_handles[1])
browser.get(tab_url)
Posted by: Guest on January-06-2021

Code answers related to "How to open a new tab using Selenium WebDriver in Python?"

Python Answers by Framework

Browse Popular Code Answers by Language