Open
Description
Hello,
Our project is using page objects and we are able to connect to browserstack automate using fixtures as in the sample.
However, for the tests that require cookies to be sent, we are not able to connect to browserstack and tests end up running locally on disk.
This appears mainly due to:
- for setting up cookies we need to pass: await browserContext.addCookies(cookies);
- Browserstack fixtures are overriding the default 'page' fixture - await use(vPage); we tried to customize a bit by just overriding the 'context' and using that to add cookies and create new page in test itself.
The above is not working for us. We would also like to use geolocation which again required browserContext.
Is there any recommended way to achiever the same?
Metadata
Metadata
Assignees
Labels
No labels