Open GoogleCodeExporter opened 9 years ago
To copy all:
Dim wd As New Webdriver, Keys As New Keys
wd.Start "firefox", "http://www...."
wd.Open "/"
wd.SendKeys Keys.Control, "a"
wd.SendKeys Keys.Control, "c"
Original comment by florentbr
on 9 Sep 2014 at 9:47
Thank you for the quick response! The code works but it selects only what is in
the address field. How do I point the code to the body of the page and select
everything there?
Original comment by thomas.n...@gmail.com
on 10 Sep 2014 at 8:55
wd.Open "/"
wd.findElementByTagName("body").SendKeys Keys.Control & "ac"
or
wd.Open "/"
wd.findElementByTagName("body").click
wd.SendKeys Keys.Control, "a"
wd.SendKeys Keys.Control, "c"
Original comment by florentbr
on 18 Sep 2014 at 1:26
Original issue reported on code.google.com by
thomas.n...@gmail.com
on 9 Sep 2014 at 9:13