lefthandedgoat / canopy

f# web automation and testing library, built on top of Selenium (friendly to c# also)
http://lefthandedgoat.github.io/canopy/
MIT License
507 stars 115 forks source link

Playwright support? #524

Open siwatanejo opened 3 years ago

siwatanejo commented 3 years ago

Is your feature request related to a problem? Please describe. Just wondering if Playwright is more stable than selenium? https://github.com/microsoft/playwright

Describe the solution you'd like Maybe be able to switch from Selenium to Playwright with a config setting.

Describe alternatives you've considered N/A

Additional context N/A

lefthandedgoat commented 3 years ago

I have never used playwright so I can't say if it is more stable than Selenium. The challenges to adopt it to to canopy would be the same as described in this issue:

https://github.com/lefthandedgoat/canopy/issues/462

In short, writing a canopy style DSL for playwright is totally possible but would need to be its own distinct project.

siwatanejo commented 3 years ago

https://twitter.com/lefthandedgoat/status/1458281358208475137

siwatanejo commented 2 years ago

ping

new-user-name commented 1 year ago

Hi, my mind keeps wandering around the idea.

It looks like introduction to F# DSL https://www.codeproject.com/Articles/39031/Making-DSLs-in-F for the newbies like me.

Canopy is way too good to start another scraping project with the plain Playwright. I just can't force myself to load these Node s.t into VScode and start from scratch.