document.querySelectorAll("div[role='dialog'] div[data-test-actorid] button[type='submit']:last-child")

1、判断包含某个属性:
   div[data-test-actorid]
2、不包含某个属性
div:not([data-test-actorid])

  

相关文章:

  • 2022-01-20
猜你喜欢
  • 2021-12-15
  • 2021-11-22
  • 2021-11-18
  • 2022-02-28
  • 2022-03-02
相关资源
相似解决方案