New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puppeteer/Firefox: I.setCookie does not seem to work #1762
Comments
We didn't prepare test suite for Firefox and puppeteer. Probably when we
set it up we get even more issues 😁
пн, 8 лип. 2019, 16:42 користувач Stefan Huber <notifications@github.com>
пише:
… What are you trying to achieve?
I want to set a cookie in my test:
I.setCookie({"domain":".check24-test.de","httpOnly":false,"name":"c24cb","path":"/","secure":false,"value":"1"}) at Object.loginWithSession (pages\customer-login.page.js:39:7)
What do you get instead?
Provide console output if related. Use --verbose mode for more details.
1) Daten nachreichen
Daten zu einem Fremdvertrag können flexibel nachgereicht werden @regression @story:VEVE-5471 | ***@***.***","Versicherungsscheinnummer":"benötigt","Unterschrift":"vorhanden","Seiten":"policynumber,thankyou"}:
Protocol error (Browser.deleteCookies): ERROR: failed to call method 'Browser.deleteCookies' with parameters {
"browserContextId": null,
"cookies": [
{
"url": "https://kundenbereich.check24-test.de/user/login.html",
"domain": ".check24-test.de",
"path": "/",
"name": "c24cb"
}
]
}
Expected "<root>.browserContextId" to be |string|; found |object| `null` instead. ***@***.***://juggler/content/protocol/Dispatcher.js:100:15
Scenario Steps:
- I.setCookie({"domain":".check24-test.de","httpOnly":false,"name":"c24cb","path":"/","secure":false,"value":"1"}) at Object.loginWithSession (pages\customer-login.page.js:39:7)
Details
- CodeceptJS version: 2.2.0
- NodeJS Version: 10.15.3
- Operating System: Windows
- Puppeteer
- Configuration file:
Puppeteer: {
url: 'http://localhost',
browser: 'firefox',
show: process.env.HEADLESS ? false : true,
waitForAction: 0,
waitForNavigation: 'domcontentloaded',
waitForTimeout: getWaitForTimeout(),
getPageTimeout: 30000,
restart: true,
fullPageScreenshots: true,
windowSize: '1900x1048',
},
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1762>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABVY2CGMRDGRYHXDJ6HCPLP6M75TANCNFSM4H633A4A>
.
|
Puppeteer-firefox has issue - puppeteer/puppeteer#4470 |
The issue was fixed: puppeteer/puppeteer#4850 And then the experimental @DavertMik close the issue pls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are you trying to achieve?
I want to set a cookie in my test:
What do you get instead?
Details
The text was updated successfully, but these errors were encountered: