VineGlobal / selenium-vba

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

"SafariDriver not yet implemented. Use remote driver insted" but Remote or Grid does not work either? #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Operating system and version (32/64bit) : Windows 7 64bit
.Net Framework version : v4.0.30319
Office name and version(32/64bit) : Office Professional Plus 2010 32bit
Browser name and version : Safari 5.1.7
SeleniumWrapper version : v1.0.17.0

What steps will reproduce the problem with a public website ?

1. driver.start "safari", "http://www.google.com"

>>>> That's 'normal' I guess :)
Gives error: 
SeleniumWrapper: SafariDriver is not yet implemented. Use remote driver insted.

2.a As message says 'Use remote driver insted.', trying on remote control:

Gives error:
SeleniumWrapper: Remote browser <safari> is not available !
Choose between Firefox, IE, Chrome, HtmlUnit, HtmlUnitWithJavaScript,
Android, IPad, Opera, PhantomJs

Shouldn't Safari be accepted here?

2.b Trying with grid:

Running hub then a Safari node
java -jar E:\selenium\selenium-server-standalone-2.37.0.jar -role hub
java -jar E:\selenium\selenium-server-standalone-2.37.0.jar -role node -hub 
http://localhost:4444/grid/register -browser browserName=safari

VBS command
driver.startRemotely "safari", "http://localhost:4444/wd/hub", 
"http://www.google.com"

Command startRemotely gives error:
SeleniumWrapper: Remote browser <safari> is not available !
Choose between Firefox, IE, Chrome, HtmlUnit, HtmlUnitWithJavaScript,
Android, IPad, Opera, PhantomJs

What is the expected output? What do you see instead?

I expected Safari to work with RC or Grid.

Please provide any additional information below.

As startRemotely is written actually (see switch case in source code), Safari 
can't be work either in RC or Grid.
(Or maybe I make a mistake somewhere in my code)

Original issue reported on code.google.com by ron190@ymail.com on 14 Jan 2014 at 10:17

GoogleCodeExporter commented 9 years ago
The Safari driver is not implemented at all for the local and remote driver.
I had a look on the Selenium project and it seems to be now working with the 
.Net framework. I'll make it available in the next release (1.0.18).

Original comment by florentbr on 15 Jan 2014 at 4:01

GoogleCodeExporter commented 9 years ago
Awesome ;)

Original comment by ron190@ymail.com on 15 Jan 2014 at 4:42

GoogleCodeExporter commented 9 years ago
Done in version 1.0.18

Original comment by florentbr on 9 Apr 2014 at 11:48

GoogleCodeExporter commented 9 years ago

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