-
Notifications
You must be signed in to change notification settings - Fork 53
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
[Playwright] A new instance of the browser is started #55
Comments
Same question here. When we are testing a scenario on a page which needs another page to be accessed from, using 2 page objects does not work as a browser instance will be created for each page. An example would be to have an Home Page with a button that allows to navigate to a "Page To test" only reachable from the Home Page. |
Same issue, have a BasePage which is used by a LoginPage to login. LoginPage starts up a browser session and works no problem. When a new page is created after logging in another browser window is opened rather than using the LoginPage session. Any ideas how to resolve? |
Yeah, the example is not the best in this case. |
@TechWatching @bloodgang94 @matthewearley-payroc |
This is something that is causing me an issue too. It is, in fact, blocking me from continuing to evaluate using Specflow.Actions.Playwright as part of the solution for one of my teams. Any update on this? |
Any update on this please? The same as @Myvryn I am evaluating Playwright and not sure how to get around this issue. |
I temporarily declined up using SpecFlow.Actions.
Everything works fine both using a ready-made docker image and via a web socket (Moon) |
@bloodgang94 Is that possible that you provide us the Hook and Base Page ? |
I have same issue. Have you an oplossing now? |
Created a small example. |
@SabotageAndi It would be great if this issue is fixed - Certainly Cannot use this with multiple page options |
Curious whether this plugin supports multiple pages, just that the current examples illustrates it wrong ? |
@SabotageAndi Any thoughts on this ? |
When I create a new page object, a new browser instance opens.
In your example, I saw only one class. Are there ways to solve the problem?
The text was updated successfully, but these errors were encountered: