blueprintmrk / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
0 stars 0 forks source link

How can i open a new tab in already opened firefox #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Operating system :win 7
.Net Framework version :latest
Office Version : 007
SeleniumWrapper version : last

What is your issue ?

How can i open a new tab in already opened firefox, im using vbs.please help.

Original issue reported on code.google.com by shan4sha...@gmail.com on 30 Dec 2013 at 1:02

GoogleCodeExporter commented 9 years ago
There you go:

Set selenium = CreateObject("SeleniumWrapper.WebDriver")
Set Keys = CreateObject("SeleniumWrapper.Keys")

selenium.Start "firefox", "http://www.google.com/"
selenium.Open "/"
selenium.SendKeys Keys.Control & "t"

Original comment by florentbr on 2 Jan 2014 at 12:17

GoogleCodeExporter commented 9 years ago

Original comment by florentbr on 8 Sep 2014 at 5:40