LoginSignup
0
0

Seleniumで待つ

Last updated at Posted at 2024-04-10

以下で指定すると、期待した待ちをした
visibility_of_element_locatedを使うこと

from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.wait import WebDriverWait

WebDriverWait(driver, 10).until(
    EC.visibility_of_element_located((By.XPATH, xpath))
)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0