Answers for "selenium python get url of new tab"

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 "selenium python get url of new tab"

Python Answers by Framework

Browse Popular Code Answers by Language