canopy icon indicating copy to clipboard operation
canopy copied to clipboard

Playwright support?

Open siwatanejo opened this issue 3 years ago • 4 comments

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

siwatanejo avatar Oct 11 '21 03:10 siwatanejo

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.

lefthandedgoat avatar Oct 11 '21 16:10 lefthandedgoat

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

siwatanejo avatar Nov 10 '21 05:11 siwatanejo

ping

siwatanejo avatar Oct 28 '22 06:10 siwatanejo

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.

new-user-name avatar May 07 '23 07:05 new-user-name