[
https://issues.jboss.org/browse/ARQ-1030?page=com.atlassian.jira.plugin.s...
]
Ste Gr commented on ARQ-1030:
-----------------------------
Good and bad news for u guys.
1) The CapabilityMap looks perfekt now. All settings from the arquillian.xml could be find
there.
2) But the browser still can't be created.
The FirefoxDriver (I didn't check other drivers) only checks for
"firefox_binary" in the capability map, but not for
"webdriver.firefox.bin". If the binary could not be found, it will continue
looking up the path in the system properties or default location of the current platform.
Should those settings be added to the system properties after parsing the capabilities
from arquillian.xml or what is the desired way it should work?
In FirefoxDriverFactory#createInstance(TypedWebDriverConfiguration) you assure that the
"firefox_binary" and "firefoy_profile" will be set from capabilities
if available. Is that the point, where webdriver.firefox.* should also be handled?
Driving capabilities using arquillin.xml does not work
------------------------------------------------------
Key: ARQ-1030
URL:
https://issues.jboss.org/browse/ARQ-1030
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Extension - Drone
Affects Versions: drone_1.1.0.CR1
Reporter: Lukáš Fryč
Assignee: Karel Piwko
Priority: Critical
Fix For: drone_1.1.0.CR2
This blog describes how to setup WebDriver capabilities using properties:
http://arquillian.org/blog/2012/06/27/arquillian-extension-drone-1-1-0-CR1/
However when trying to set property {{webdriver.chrome.driver}}
{code:xml}
<property name="browserCapabilities">chrome</property>
<property
name="capabilityWebdriverChromeDriver">>/opt/google/chrome/chromedriver</property>
{code}
the driver still throws:
{code}
IllegalStateException: The path to the driver executable must be set by the
webdriver.chrome.driver system property; for more information, see
http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded
from
http://code.google.com/p/chromedriver/downloads/list
{code}
----
Ste Gr reports similar problem here:
https://community.jboss.org/message/746615#746615
{code:xml}
<extension qualifier="webdriver">
<property name="browserCapabilities">firefox</property>
<property
name="capabilityWebdriverFirefoxBin">C:\Firefox\firefox.exe</property>
<property
name="capabilityWebdriverFirefoxProfile">selenium</property>
</extension>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira