Home  >  Q&A  >  body text

python - 这种页面怎么定位呢?

尝试定位如下标签和元素 使用xpath报错


应该怎么定位呢?使用selenium的xpath定位方法 时而成功时而失败==

阿神阿神2741 days ago460

reply all(1)I'll reply

  • 黄舟

    黄舟2017-04-18 10:31:18

    You should put down the code. I guess you xpath before the content is loaded. You can try sleep(5) before xpath

    reply
    0
  • Cancelreply