Skip to content

Conversation

@volk-r
Copy link

@volk-r volk-r commented Jan 17, 2023

fixed InvalidArgumentException: Cookie name should be non-empty trace

cookie from \Facebook\WebDriver\Cookie

fixed InvalidArgumentException: Cookie name should be non-empty trace

cookie from \Facebook\WebDriver\Cookie
@OndraM
Copy link
Collaborator

OndraM commented Jan 17, 2023

Hi @volk-r , thanks for the pull request!

Could you please describe the scenario, used browser, version etc., when this issue happens? So that we now it this is something which needs to be addressed in php-webdriver. Thanks!

@volk-r
Copy link
Author

volk-r commented Jan 18, 2023

hi @OndraM

firefox-100

I can't reproduce this stably, maybe it's the specifics of a particular site

trace after authorization when trying to receive cookies
https://trueblue.jetblue.com/login?redirectUrl=%2Fdashboard%2Fmy-points

exception caught - InvalidArgumentException: Cookie name should be non-empty trace: #0 /vendor/php-webdriver/webdriver/lib/Cookie.php(25): Facebook\WebDriver\Cookie->validateCookieName() #1 /vendor/php-webdriver/webdriver/lib/Cookie.php(44): Facebook\WebDriver\Cookie->__construct() #2 /vendor/php-webdriver/webdriver/lib/WebDriverOptions.php(128): Facebook\WebDriver\Cookie::createFromArray() #3

@volk-r
Copy link
Author

volk-r commented Jan 19, 2023

I will close this issue, I found a workaround on my side

@volk-r volk-r closed this Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants