Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Conflict with WebDriver 1.4 for cookie handling (Set/receive cookie using Cookie value object instead of an array) #4073
What are you trying to achieve?
Save a session snapshot
Conflicts with changes introduced by
What do you get instead?
[TypeError] Argument 1 passed to Codeception\Module\WebDriver::cookieDomainMatchesConfigUrl() must be of the type array, object given, called in /***project_root***/vendor/codeception/codeception/src/Codeception/Module/WebDriver.php on line 2714
// paste test
behat/gherkin v4.4.5 Gherkin DSL parser for PHP 5.3
class_name: AcceptanceTester modules: enabled: - WebDriver: url: %CODECEPTION_ACCEPTANCE_TEST_URL% browser: chrome window_size: 1440x860 capabilities: chromeOptions: args: - proxy-server=%http_proxy% - \Helper\Acceptance - \Codeception\Module\Asserts extensions: enabled: - Codeception\Extension\Recorder: delete_successful: false
I added a version constraint on facebook/webdriver
in composer.json to pass through this issue for now..
Hi @igoryan , there are other methods affected. As I mentionned, you better should add this constraint in your composer.json file "facebook/webdriver": ">=1.0.1 <=1.3" which is more restrictive than codeception/codeception's constraint ("facebook/webdriver": ">=1.0.1 <2.0") and works fine for now.