-
Notifications
You must be signed in to change notification settings - Fork 40
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
Explore Playwright #71
Comments
Ideas for parallel testing: https://twitter.com/SabotageAndi/status/1359890598031994880?s=20 |
It looks like Playwright for .NET is entirely async. This means we'd need to make Boa Constrictor async as well. Ohhhh boy... |
I was exploring this a while back. Here's an ability I wrote if it's at all helpful
I got stuck because at the time Boa didn't have any support for async calls... but now we do! :) |
Credit where credit is due, I took inspiration from https://github.com/ScreenPyHQ/screenpy_playwright |
I made a proof of concept here: |
@thePantz I'm excited about this proof of concept. What do you think the biggest challenges would be in making it have parity with the .Selenium package? |
@pl-shernandez there needs to be a mechanism similar to Playwright has a lot more options when it comes to locating elements compared to selenium I'm not sure what the best approach for this would be... unlike Selenium and it's I was thinking something like this:
This would just store the friendly name and a function invoked with an IPage, that returns an ILocator.
Then the locator gets resolved in the task/question
This could probably be cleaned up a bit but you get the idea... Apart from the above, I noticed that Boas Wait functions do not support async questions. This should be simple enough but is required since everything is async in Playwright... We also need to write documentation |
has there been any progress on this? if the proof of concept usable, and if so can we clone it and build it ourselves? |
Hi @bobbhatti, I've slowly been adding to my PoC. I only do this in my free time... Happy to accept any help/feedback others are willing to offer |
Playwright has a C# implementation. Perhaps we should add Screenplay interactions for it. I heard it's much faster than Selenium WebDriver.
https://playwright.dev/
https://github.com/microsoft/playwright-sharp
The text was updated successfully, but these errors were encountered: