scrapy-plugins / scrapy-playwright

🎭 Playwright integration for Scrapy
BSD 3-Clause "New" or "Revised" License
911 stars 101 forks source link

add support for remote firefox and webkit #280

Closed Ehsan-U closed 4 days ago

Ehsan-U commented 6 days ago

277

elacuesta commented 4 days 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 days 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 3 days ago

Indeed, see #283.