Though this is probably not the intended use for Selenium, I want to open up a few (typically 2-5) tabs at the same time after I have logged in.
Here is what I've tried:
for estimate in estimates:
browser.find_element_by_tag_name('body').send_keys(Keys.CONTROL + 't')
browser.get('http://www.example.com/' + dic['Id'])
The problems I have with this method is that:
- It uses unofficial means to open new tabs and
- Requires each webpage to fully load before moving on to the next.
I was wondering if there was a more efficient, elegant way to accomplish this.
Edit: To clarify, I do not need to be able to manage the tabs. I just wish to open up a few tabs for the convenience of the user after I am done running the program.