[英]how to find grids in table using splinter?
等待一會兒頁面完全加載怎么辦?
from splinter import Browser
b = Browser("chrome")
b.visit("https://splinter.readthedocs.io/en/latest/tutorial.html")
if b.is_element_present_by_xpath("//div[@id='create-a-browser-instance']/h2", wait_time=5):
# wait until the element's appearing
print(b.find_by_xpath("//div[@id='create-a-browser-instance']/h2"))
查看更多關於splinter
文檔的信息
希望對您有幫助..
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.