[JBoss JIRA] (ARQ-1340) Drone webdriver is not created during @BeforeClass
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1340?page=com.atlassian.jira.plugin.s... ]
Karel Piwko commented on ARQ-1340:
----------------------------------
To be retested with latest core as a part of beta1 testing.
> Drone webdriver is not created during @BeforeClass
> --------------------------------------------------
>
> Key: ARQ-1340
> URL: https://issues.jboss.org/browse/ARQ-1340
> Project: Arquillian
> Issue Type: Bug
> Components: Extension - Drone
> Affects Versions: drone_1.1.1.Final
> Environment: Arquillian JUnit Container 1.0.3.Final
> Arquillian Graphene Webdriver 2.0.0.Alpha3
> Arquillian Drone dependencies and Selenium dependencies 1.1.1.Final
> Arquillian Core dependencies 1.0.3.Final
> junit 4.8.1
> jdk 1.6
> Reporter: Alex Okrushko
> Fix For: drone_2.0.0.Beta1
>
>
> Drone webdriver is not created during @BeforeClass, however *is created during @Before or if called by GrapheneContext.getProxy()*
> The following does NOT work:
> {code:java}
> @RunWith(Arquillian.class)
> public class TestDroneLogin {
> @Drone
> private static WebDriver driver;
>
> @BeforeClass
> public static void setup(){
> //GrapheneContext.getProxy().navigate().to("http://google.com");
> driver.navigate().to("http://google.com");
> }
>
> @Test
> public void testInput(){
> driver.findElement(By.cssSelector("input#gbqfq"));
> }
> }
> {code}
> However, if I use {{GrapheneContext.getProxy()}} instead of {{driver}}, everything works as expected:
> {code:java}
> @BeforeClass
> public static void setup(){
> GrapheneContext.getProxy().navigate().to("http://google.com");
> }
> {code}
> ALSO, if {{@Before}} is used then Drone webdriver is created as expected, so this problem is specific to {{@BeforeClass}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 10 months
[JBoss JIRA] (ARQ-1545) Drone: allow to setup WebDriver's Capabilities programatically
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1545?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1545:
-----------------------------
Fix Version/s: drone_2.1.0.Final
(was: drone_2.0.0.Beta1)
> Drone: allow to setup WebDriver's Capabilities programatically
> --------------------------------------------------------------
>
> Key: ARQ-1545
> URL: https://issues.jboss.org/browse/ARQ-1545
> Project: Arquillian
> Issue Type: Feature Request
> Components: Extension - Drone
> Affects Versions: drone_1.2.0.Final
> Reporter: Lukáš Fryč
> Fix For: drone_2.1.0.Final
>
>
> The programatic configuration comes when some capability is unsupported and it has complex type, such as collection or array.
> ----
> Even though I can access WebDriverConfiguration programatically and retrieve #getCapabilities(), I will get clone of capabilities stored in configuration.
> I suggest we allow to access capabilityMap in order to allow programatically configure.
> ----
> Please document a sample of usage here once done, i.e. what even is expected to listen.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 10 months
[JBoss JIRA] (ARQ-1775) Allow to disable/enable nativeEvents via arquillian.xml
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1775?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1775:
-----------------------------
Fix Version/s: drone_2.0.0.Alpha5
> Allow to disable/enable nativeEvents via arquillian.xml
> -------------------------------------------------------
>
> Key: ARQ-1775
> URL: https://issues.jboss.org/browse/ARQ-1775
> Project: Arquillian
> Issue Type: Feature Request
> Components: Extension - Drone
> Affects Versions: drone_1.3.0.Final
> Reporter: Sona Jamborova
> Fix For: drone_2.0.0.Alpha5
>
>
> Selenium 2 allows to enable/disable nativeEvents for WebDriver. This feature should be set before initialization of WebDriver instance. See:
> FirefoxProfile profile = new FirefoxProfile();
> profile.setEnableNativeEvents(true);
> WebDriver driver = new FirefoxDriver(profile);
> Drone injects instance of FirefoxDriver and I have not any option how disable native Events for Firefox and Windows.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 10 months