Questions tagged [webdriverwait]

WebDriverWait : WebDriverWait which extends FluentWait is a specialization of Class FluentWait that uses WebDriver instances.

WebDriverWait

WebDriverWait which extends FluentWait<WebDriver> is a specialization of Class FluentWait<T> that uses WebDriver instances.

Field Summary

static long DEFAULT_SLEEP_TIMEOUT FIVE_HUNDRED_MILLIS

Constructor

  • WebDriverWait(WebDriver driver, Clock clock, Sleeper sleeper, long timeOutInSeconds, long sleepTimeOut)
  • WebDriverWait(WebDriver driver, long timeOutInSeconds)

    This Wait will ignore instances of NotFoundException that are encountered (thrown) by default in the 'until' condition, and immediately propagate all others.
    
  • WebDriverWait(WebDriver driver, long timeOutInSeconds, long sleepInMillis)

    This Wait will ignore instances of NotFoundException that are encountered (thrown) by default in the 'until' condition, and immediately propagate all others.
    

Reference : WebDriverWait FluentWait WebDriver

2592 questions
115
votes
6 answers

Selenium - wait until element is present, visible and interactable

I have a Selenium script (Python) that clicks a reply button to make the class anonemail appear. The time it takes for the class anonemail to appear varies. Because of that I have to use sleep until the element has appeared. I want to wait until the…
87
votes
7 answers

Can not click on a Element: ElementClickInterceptedException in Splinter / Selenium

I'm trying to scrape a page, but I sometimes have trouble clicking a link/button. When the web page loads, then the "loadingWhiteBox" will appear first and then disappear after a few seconds (but it will remain in the HTML code) as long as the box…
yellow days
  • 1,053
  • 2
  • 9
  • 11
55
votes
6 answers

Python Selenium - get href value

I am trying to copy the href value from a website, and the html code looks like this:

Shah Alam Setia Eco Park, Setia Eco Park …

Eric Choi
  • 785
  • 2
  • 7
  • 14
34
votes
6 answers

How to resolve ElementNotInteractableException: Element is not visible in Selenium webdriver?

Here I have the image of my code and the image of my error. Can anyone help me to resolve this issue?
Aarthi
  • 505
  • 1
  • 4
  • 10
31
votes
4 answers

Selenium python Error: element could not be scrolled into view

I am working on automating the IdentiGO application for my company, and I'm getting the following error: Internal Server Error: /identigo Traceback (most recent call last): File…
Lord Elrond
  • 13,430
  • 7
  • 40
  • 80
31
votes
4 answers

Selenium and iframe in html

Unable to use send_keys() on an element inside an iframe. How can I select this iframe, and which element inside should be used for send_keys()? Here's the html code of the iframe: