5、實用技巧(上)

  獲取當前窗口title driver.title html     獲取當前窗口地址欄url driver.current_urlweb   窗口內容標題更新時,title和current_url也會隨之而更新shell 頁面更新時,能夠經過查找更新頁面的元素來判斷頁面加載完成,此時獲取的title或url爲新頁面的title或urlwindows   截屏: 截取整個頁面:driver.ge
相關文章
相關標籤/搜索