Commit Graph

18 Commits

Author SHA1 Message Date
gries
a15cff9445 Add emulator option to BrowserStack capabilities. 2015-03-10 09:20:26 +01:00
Christophe Coevoet
ba5329be65 Merge pull request #187 from csarrazi/master
[Easy-Pick] Fixed Selenium2 ignoreZoomSetting configuration in Selenium2Factory
2015-01-23 01:01:18 +01:00
Christophe Coevoet
f1df9a0207 Merge pull request #186 from stof/remove_config_defaults
Remove default values for capabilities
2015-01-23 00:59:31 +01:00
Charles Sarrazin
c909592691 Fixed configuration for Selenium2 factory
Changing the scalarNode to a booleanNode actually fixes a bug in the latest version of IEDriverServer + Selenium2, which triggers a segmentation fault if the value given for ignoreZoomSetting is a string and not a boolean (which is the case currently).
A simple check for this is to try launching Behat + mink + Selenium2 with Selenium2 + IEDriverServer, with the following defaults:

```yml
default:
  suites:
    default:
      contexts:
        - Behat\MinkExtension\Context\MinkContext
  extensions:
    Behat\MinkExtension:
      javascript_session: default
        sessions:
          default:
            selenium2:
              browser: "internet explorer"
```

Adding the capabilities with ignoreZoomSetting set to true or false also fixes the issue, but not at the source of the problem.
2015-01-21 14:45:58 +01:00
Christophe Coevoet
819063c58b Unset the custom-data node when it is empty
Closes #179
2015-01-19 02:01:08 +01:00
Christophe Coevoet
0bb80effb3 Remove default values for capabilities
This lets Selenium choose its own default values without duplicating
them.
Replaces #183
Refs #179
2015-01-19 01:49:01 +01:00
gggeek
a0bd5412c1 Fix issue 184: user not allowed to set tags sent to selenium 2015-01-08 18:17:02 +00:00
Christophe Coevoet
652f0e22a5 Added the support of Goutte 2.0 2014-05-15 21:59:46 +02:00
Christophe Coevoet
14d3596895 Renamed the extension class to follow the Behat shortcut convention 2014-05-08 13:45:26 +02:00
Christophe Coevoet
80cd741d26 Added capability guessing for Jenkins
Replaces #140
2014-05-08 13:18:21 +02:00
Christophe Coevoet
84bccc838c Improved the guessing of capabilities on Travis
The logic is not duplicated anymore between BrowserStack and Travis, and
user-defined capabilities now win over guessed capabilities.
Refs #140
2014-05-08 13:15:15 +02:00
Christophe Coevoet
6b02ddf274 Added some missing SauceLabs capabilities
Closes #126
2014-04-26 23:50:11 +02:00
Christophe Coevoet
82fb06bb57 Renamed the SauceLabsFactory for consistent casing 2014-04-26 23:50:08 +02:00
Christophe Coevoet
3b00c091e9 Added a factory configuring the Selenium2Driver for BrowserStack
Closes #103
Replaces #133
2014-04-26 23:50:00 +02:00
Christophe Coevoet
1843188aea Added a way to specify custom capabilities for Selenium2
This allows configuring capabilities which are specific to other drivers
or custom implementations.
Fixes #129
Fixes #125
Refs #135
2014-04-26 23:03:50 +02:00
Christophe Coevoet
c6efdf6940 Refactored the handling of Selenium2 capabilities
Saucelabs-specific capabilities are removed from the Selenium2Factory in
favor of the SaucelabsFactory.
The SaucelabsFactory now supports all normal capabilities (inherited from
the Selenium2Factory) and the list of Saucelabs-specific ones is
completed.
2014-04-26 22:52:05 +02:00
Christophe Coevoet
c1336bee32 Cleaned the ZombieDriver configuration
The ZombieDriver expects a single argument when passing a ZombieServer,
and it ignores any subsequent argument. Thus, it never deals with a
Connection itself (the server does).
Closes #23
2014-01-18 11:13:51 +01:00
Christophe Coevoet
3ee16c4b87 Refactored the configuration of sessions
The configuration now makes sessions a first-class citizen instead of
being centered around drivers. This allows defining several session based
on the same driver type.
Instead of allowing other extensions to register their own sessions to add
new drivers, they can now register a DriverFactory in the MinkExtension
during the extension initialization to make a new driver type available.
2014-01-11 00:13:12 +01:00