I want to open two tabs in same window of google Chrome.I know this is common question. But none of the answers in them helped me to get this done. I'm using Chrome driver and java for it. I have tried to different code found on the internet and also in this website too. But none of them worked as I expected. It opened the window and load the website in first URL and then again load the second website in the same tab. It didn't even open a another tab.
In short form this is what I want to do.....
1) Open a chrome and load a page (no problem with this step)
2) After 10 seconds another tab should open and load a website in the same window
3) Switch to the second tab and work in there
I want to do this using Google Chrome and Java.