Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to open tabs in selenium web driver on mobile ?

user-image
Question added by Muhammad Rashid , Web Developer , MCP Insight
Date Posted: 2015/04/03
Shadab Masoodi
by Shadab Masoodi , Project Engineer , Telecommunications Consultants India Limited

WebDriver wd = new FirefoxDriver(); wd.get("http://www.gmail.com"); wd.manage().timeouts().implicitlyWait(, TimeUnit.SECONDS); wd.manage().window().maximize(); Robot r = new Robot(); r.keyPress(KeyEvent.VK_CONTROL); r.keyPress(KeyEvent.VK_T); r.keyRelease(KeyEvent.VK_CONTROL); r.keyRelease(KeyEvent.VK_T); Thread.sleep(); wd.get("http://facebook.com");

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.