How to get the text of a h1 headline with playwright?

后端 未结 0 351
长情又很酷
长情又很酷 2021-01-16 07:59

I want to test if a headline has a certain text. Is there a command for this?

await page.goto(‘\');


expect(await page.$("         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题