About 50 results
Open links in new tab
  1. Check if element exists python selenium - Stack Overflow

    Aug 15, 2017 · I'm trying to locate element by element=driver.find_element_by_partial_link_text("text") in Python selenium and the element does not always exist. Is there a quick line to check if it exist...

  2. Python and how to get text from a Selenium element WebElement object

    Nov 15, 2022 · Python and how to get text from a Selenium element WebElement object Asked 11 years ago Modified 17 days ago Viewed 175k times

  3. How can I check if an element exists with Selenium WebDriver?

    How can I check if an element exists with Selenium WebDriver? [duplicate] Asked 14 years, 7 months ago Modified 3 years, 2 months ago Viewed 568k times

  4. How to make Selenium wait until an element is present?

    I'm trying to make Selenium wait for an element that is dynamically added to the DOM after page load. I tried this: fluentWait.until (ExpectedConditions.presenceOfElement (By.id ("elementId"...

  5. Checking if an element exists with Python Selenium

    The find-element (singular) form throws an exception when the element is not found. The find-elements (plural with 's') will return an empty list. In my humble opinion all the other examples that are using try …

  6. How to avoid "StaleElementReferenceException" in Selenium?

    Oct 19, 2012 · I am implementing a lot of Selenium tests using Java - sometimes, my tests fail due to a StaleElementReferenceException. Could you suggest some approaches to making the tests more …

  7. Best way to check that element is not present using Selenium …

    Apr 15, 2015 · Best way to check that element is not present using Selenium WebDriver with java Asked 13 years, 4 months ago Modified 4 years, 7 months ago Viewed 212k times

  8. python - Selenium - wait until element is present, visible and ...

    Dec 1, 2019 · In Selenium, waiting for an element to be present, visible, and interactable is a common requirement to ensure that your test scripts are robust and reliable. You can achieve this by using …

  9. Scroll Element into View with Selenium - Stack Overflow

    Aug 4, 2010 · Is there any way in either Selenium 1.x or 2.x to scroll the browser window so that a particular element identified by an XPath is in view of the browser? There is a focus method in …

  10. Selenium - Python - AttributeError: 'WebDriver' object has no attribute ...

    Jun 27, 2022 · python selenium google-chrome selenium-webdriver selenium-chromedriver edited Aug 28, 2022 at 12:23 Peter Mortensen 31.3k 22 110 134