Drone: allow reuse of session even though all capabilities are not
serializable
-------------------------------------------------------------------------------
Key: ARQ-1350
URL:
https://issues.jboss.org/browse/ARQ-1350
Project: Arquillian
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: Extension - Drone
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Labels: graphene-sprint
Fix For: drone_1.2.0.Alpha2
Remote drivers might store non-serializable instances in Capabilities map.
Drone fails to reuse such browsers since it is not able to store and serialize their
capabilities in ReusedSession object.
One example of such a driver is PhantomJSDriver which stores object under key
'proxy': com.google.common.collect.Maps$TransformedEntriesMap.
---
In order to maximize ability of session reusal, Drone may avoid reusing driver's
capabilities at own, but try serialization of each capabilities entry separately and store
them in new instance of DesiredCapabilities.
This allows to reuse PhantomJS sessions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: