scrapy-plugins / scrapy-playwright

🎭 Playwright integration for Scrapy
BSD 3-Clause "New" or "Revised" License
1.03k stars 113 forks source link

add support for remote firefox and webkit #280

Closed Ehsan-U closed 4 months ago

Ehsan-U commented 5 months ago

277

elacuesta commented 4 months ago

Thanks for the contribution. Unfortunately, I don't think it's a good idea to reuse the PLAYWRIGHT_CDP_URL setting for a non-CDP connection.

Ehsan-U commented 4 months ago

Thanks for feedback!

Another option would be to add a separate setting for Firefox and WebKit using the PLAYWRIGHT_RDP_URL

RDP is Remote Debugging Protocol. While I'm not certain if Playwright uses this protocol to connect to Firefox and WebKit, I can't think of another way it might be done.

elacuesta commented 4 months ago

Indeed, see #283.