Commit Graph

53 Commits

Author SHA1 Message Date
Christophe Coevoet
e569fd7bc1 Added a shortcut syntax for the configuration of sessions 2014-01-13 23:06:23 +01:00
Christophe Coevoet
58ca78aa59 Added some validation of the default session and javascript session 2014-01-11 00:27:14 +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
Christophe Coevoet
589cd05897 Added the initialize method in the extension 2014-01-10 20:47:34 +01:00
Christophe Coevoet
d79dc1ae71 Refactored the extension for Behat 3.0 2014-01-04 14:59:18 +01:00
Christophe Coevoet
24012515e5 Moved the license header to the top of the file 2014-01-04 11:53:25 +01:00
Robert Schönthal
74aa54a6f3 fixed indentation 2014-01-02 16:42:40 +01:00
Robert Schönthal
18ec75d611 made compatible with behat 3rc1 2014-01-02 16:32:32 +01:00
Klein Florian
2ebc88634b make it compatible with behat v3 2013-10-29 14:04:29 +01:00
Christophe Coevoet
265aee68b3 Fixed the configuration for Selenium2 capabilities
Some capabilities need to have a dash in their name to match the name
expected by Selenium2 (which uses a mix of camel cased and dashed names).
This fix makes the MinkExtension incompatible with Symfony 2.0 and 2.1 but
they already reached their end of maintenance anyway.
Closes #91
2013-09-23 18:44:37 +02:00
bahamut1221
e5238c8e51 Add possible option firefox binary
Possiblity to launch a specific firefox binary
2013-07-15 10:45:12 +02:00
everzet
b4522f19fe Use distinguishable tags for SauceLabs 2013-06-04 13:18:22 +01:00
everzet
e69a377f3c Autoenable travis integration 2013-06-04 00:34:28 +01:00
everzet
fe6c92e6dc Fix saucelabs integration 2013-06-03 11:05:51 +01:00
everzet
76a9c1f8fb Implement direct SauceLabs support 2013-06-03 10:39:43 +01:00
Paul Seiffert
9798f45820 Added zombie driver config parameters 2013-05-23 13:19:49 +02:00
Clément Herreman
a63ba2edf2 Allow ignoreZoomSetting in config 2013-04-22 16:10:01 +03:00
Konstantin Kudryashov
60df289f93 Merge pull request #76 from Shashikant86/master
Added some more Sauce Capabilities to Mink Extension
2013-04-15 14:25:42 -07:00
Shashikant86
d9caa76108 Added some sauce capabilities 2013-04-15 20:14:48 +01:00
cmwelsh
117ed3bdba Allow configuration of additional Sahi connection parameters
The values "browser" and "limit" can now be passed in from
behat.yml.
2013-04-08 11:02:48 -07:00
Konstantin Kudryashov
cf2212350d Merge pull request #71 from Shashikant86/master
Added 'selenium-version' capability to support different versions of selenium server
2013-03-09 04:33:00 -08:00
Shashikant
137ce54666 Added Selenium-Version Capabilities 2013-03-08 23:42:29 +00:00
James Bodkin
27ffbde33d Add firefox profile configuration to selenium2 driver 2013-01-15 17:28:37 +00:00
Konstantin Kudryashov
1b68c7343f Always disable Guzzle redirects 2012-12-12 09:34:22 +01:00
Shashikant
4fd06934d4 Added Desired capabilities for Webdriver 2012-10-20 16:26:24 +02:00
Anthon Pang
156b6e37bb partial revert 37dfaec to not set default (as it is browser-specific); define the other Proxy JSON options (previously supported implicitly via useAttributeAsKey); use validation rule to fix #37 2012-09-28 22:36:16 -04:00
Simon Westcott
0fa25fc9e5 ProxyType is a required field when defining a proxy.
This sets a sensible default as per http://code.google.com/p/selenium/wiki/DesiredCapabilities
2012-09-20 14:47:57 +01:00
Konstantin Kudryashov
306010033a Merge pull request #35 from robocoder/selenium2-capabilities-patch
add remaining Selenium2 webdriver capabilities
2012-09-18 03:00:50 -07:00
Anthon Pang
246f2200f9 chromedriver capabilities support 2012-09-14 23:48:26 -04:00
Anthon Pang
b950fb7bfa add remaining Selenium2 webdriver capabilities
(takesScreenshot, handlesAlerts, and cssSelectorsEnabled are read-only)
2012-09-14 22:46:01 -04:00
everzet
2a0913a19c fixed default value 2012-09-10 21:24:31 +02:00
everzet
63b6c126ce added support for setting show_auto through ENV vars 2012-09-10 21:20:33 +02:00
everzet
9e2c34cbd0 added support for automatic show on failures 2012-09-10 20:20:10 +02:00
Frédéric Hardy
6897c15732 Port of sahi is 9999, not 999 2012-08-29 17:18:09 +03:00
everzet
cf32eff0ce added guzzle_parameters section to goutte config 2012-08-28 11:55:25 +02:00
Anthon Pang
a4284d9cda convert version to string 2012-08-23 10:46:05 -04:00
jubianchi
57d6199102 Add config via env 2012-08-23 11:09:55 +02:00
Konstantin Kudryashov
3e874c2c99 Merge pull request #28 from robocoder/firefox-version-patch
bump desired firefox version from 8 to 9 to match behat.xml
2012-08-23 01:44:21 -07:00
Anthon Pang
f82c22663c add support for WebDriver proxy in desired capabilities 2012-08-22 14:17:48 +00:00
Anthon Pang
b5e891196b bump desired firefox version from 8 to 9 to match behat.xml; also change type from integer to string to fix "java.lang.Long cannot be cast to java.lang.String" error 2012-08-22 14:10:49 +00:00
Konstantin Kudryashov
b62d9ddb3a fixed bug, introduced with previous commit 2012-06-18 14:32:57 +03:00
Konstantin Kudryashov
7effa5f2ce pass base_url 2012-06-18 14:12:42 +03:00
everzet
fe2d420ab9 moved drivers check after mink_loader requirement 2012-05-30 10:45:45 +02:00
everzet
075a938dc1 validate that driver is actually installed before activating it 2012-05-30 10:40:44 +02:00
everzet
cf9ddc4b93 automatically activate session if specific driver installed 2012-05-30 01:05:14 +02:00
everzet
4a46111a46 added missing configuration blocks 2012-05-21 01:47:43 +02:00
everzet
e66dae35cd updated extension for latest Mink beta 2012-05-20 21:27:46 +02:00
everzet
9d26757d82 returned explicity for configuration 2012-05-15 09:58:06 +02:00
everzet
fa3714e371 don't preconfigure default values for session and browser parameters 2012-05-14 23:35:03 +02:00
everzet
1efa04f344 cleaned service configuration 2012-05-14 20:58:58 +02:00