Reputation: 329
In scrapy-playwright, how to set "headless = False". I am trying something like this.
def start_requests(self):
yield scrapy.Request(
url=url,
callback = self.parse,
meta= dict(
playwright = True,
playwright_include_page = True,
playwright_page_coroutines = [
PageCoroutine("click", selector = "//input[@name='typeAheadInputField']"),
]
)
)
return super().start_requests()
def parse(self, response):
pass
Upvotes: 0
Views: 2324