Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (browse.equals("IE")) {
- System.out.println(browse);
- driver = new RemoteWebDriver(
- new URL("http://localhost:4444/wd/hub"),
- DesiredCapabilities.internetExplorer());
- }
- if (browse.equals("FF")) {
- driver = new RemoteWebDriver(
- new URL("http://localhost:4444/wd/hub"),
- DesiredCapabilities.firefox());
- }
Advertisement
Add Comment
Please, Sign In to add comment