相关文章推荐
痴情的大葱  ·  Write-Output ...·  1 年前    · 
酷酷的排球  ·  matlab中 找打一个数组 ...·  1 年前    · 
热心的楼梯  ·  vue-router源码阅读(一) ...·  1 年前    · 
奋斗的馒头  ·  Mysql中的group_concat在Pr ...·  2 年前    · 

.waitForNavigation() deprecation #20853

Closed
Closed
@MindaugasMateika

Description

Hello,

does .waitForNavigation() deprecation means that at some point in the future this method will be deleted?

I was planning replacing this method with .waitForURL() but it doesn't work if navigation happens to the same url. For example:

  • Open foo.url/
  • Do something that triggers a navigation to the same url
  • Use await page.waitForURL(/\/$/)
  • Navigation wait does not happen
  • SCR-20230213-ekk