Currently the most popular Robot Framework browser automation solution is Selenium and SeleniumLibrary. Together we want to change this.
Selenium as a tool has been around since 2004. A lot of other browser automation solutions have come after that for example Cypress, Puppeteer and now a recent addition Playwright.
New tools have shown to be faster and more reliable with additional capabilities.
This means faster and more reliable test cases and RPA tasks that can also do new things. Me and Tatu Aalto have now done a technical concept level project that integrates Playwright with Robot Framework. The project is available at the Robot Framework community driven MarketSquare repository GitHub - MarketSquare/robotframework-browser: Robot Framework Browser library powered by Playwright. . To deliver a fully working solution for the Robot Framework community during autumn 2020, we would like to invite everyone to contribute to this effort.
Best regards,
Mikko Korpela - PSD to CSS converter
Tatu Aalto - Lead developer of SeleniumLibrary
Ismo Aro - behalf of Robot Framework Foundation
Antti Karjalainen - on behalf of Robocorp who is committed to participate in funding the project
I hope that we get as many Foundation member companies supporting this as possible. Having a modern library for browser automation with Robot Framework is a big step in the right direction for the whole community, and I think it makes a lot of sense to have this under the MarketSquare organization.
As mentioned, Robocorp is committed to supporting the project and we are looking forward to collaborating on this!
Selenium has a lot of overhead because of the selenium web-driver.
JS based tools such as PW has an advantage because they are being executed by the browser it self so that they are fully aware of http requests and loading of web elements.
It makes tests more resilient and reliable and makes the investigation of failures easier.
We are looking users to try out the library and provide feedback. Please be brave and try it out. Remember that you do not have to integrate in your daily work flow to provide feedback (Although we are delighted if that happens to work), instead we are hoping you to try it out for few hours and see how it looks like. Was installation easy and successful, did the keywords work, what is missing what is working well?
Really good work guys. We’ve been using Selenium for just a long time so any .js based framework is appreciated. We’ll help you with testing.
One question: why did you choose Playwright instead of Cypress? Are there any technical difficulties with connecting robot-framework with Cypress or you just grabbed any available .js framework?