Did I find the right examples for you? yes no

All Samples(325)  |  Call(90)  |  Derive(0)  |  Import(235)
Thrown when element could not be found.

If you encounter this exception, you may want to check the following:
    * Check your selector used in your find_by...
    * Element may not yet be on the screen at the time of the find operation,
    (webpage is still loading) see selenium.webdriver.support.wait.WebDriverWait() 
    for how to write a wait wrapper to wait for an element to appear.

src/d/j/django-admin-ext-HEAD/example/sample/tests.py   django-admin-ext(Download)
from functools import wraps
from django.contrib.auth.models import User
from django.test.testcases import TestCase, LiveServerTestCase
from selenium.common.exceptions import TimeoutException, NoSuchElementException, StaleElementReferenceException
from selenium import webdriver

src/m/e/META-SHARE-HEAD/metashare/repository/seltests/test_example.py   META-SHARE(Download)
from metashare.repository.models import resourceInfoType_model
from metashare.settings import ROOT_PATH, DJANGO_BASE
from selenium.common.exceptions import NoSuchElementException
 
class ExampleSeleniumTest(SeleniumTestCase):

src/k/i/kitsune-HEAD/vendor/packages/selenium/py/selenium/webdriver/remote/errorhandler.py   kitsune(Download)
from selenium.common.exceptions import ImeNotAvailableException
from selenium.common.exceptions import ImeActivationFailedException
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoSuchFrameException
from selenium.common.exceptions import NoSuchWindowException

src/f/j/fjord-HEAD/vendor/packages/selenium/py/selenium/webdriver/remote/errorhandler.py   fjord(Download)
from selenium.common.exceptions import ImeNotAvailableException
from selenium.common.exceptions import ImeActivationFailedException
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoSuchFrameException
from selenium.common.exceptions import NoSuchWindowException

src/k/a/ka-lite-HEAD/python-packages/selenium/webdriver/remote/errorhandler.py   ka-lite(Download)
from selenium.common.exceptions import ImeNotAvailableException
from selenium.common.exceptions import ImeActivationFailedException
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoSuchFrameException
from selenium.common.exceptions import NoSuchWindowException

src/s/e/selenium-2.41.0/py/selenium/webdriver/remote/errorhandler.py   selenium(Download)
from selenium.common.exceptions import ImeNotAvailableException
from selenium.common.exceptions import ImeActivationFailedException
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoSuchFrameException
from selenium.common.exceptions import NoSuchWindowException

src/m/e/META-SHARE-HEAD/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py   META-SHARE(Download)
from selenium.common.exceptions import ImeNotAvailableException
from selenium.common.exceptions import ImeActivationFailedException
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoSuchFrameException
from selenium.common.exceptions import NoSuchWindowException

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py   antisocial(Download)
from selenium.common.exceptions import ImeNotAvailableException
from selenium.common.exceptions import ImeActivationFailedException
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import NoSuchFrameException
from selenium.common.exceptions import NoSuchWindowException

src/k/i/kitsune-HEAD/vendor/packages/selenium/py/selenium/webdriver/support/select.py   kitsune(Download)
 
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException, UnexpectedTagNameException
 
class Select:
            if opt.is_selected():
                return opt
        raise NoSuchElementException("No options are selected")
 
    def select_by_value(self, value):
            matched = True
        if not matched:
            raise NoSuchElementException("Cannot locate option with value: %s" % value)
 
    def select_by_index(self, index):
                matched = True
        if not matched:
            raise NoSuchElementException("Could not locate element with index %d" % index)
 
    def select_by_visible_text(self, text):
 
        if matched != True:
            raise NoSuchElementException("Could not locate element with visible text: %s" % text)
 
    def deselect_all(self):

src/f/j/fjord-HEAD/vendor/packages/selenium/py/selenium/webdriver/support/select.py   fjord(Download)
 
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException, UnexpectedTagNameException
 
class Select:
            if opt.is_selected():
                return opt
        raise NoSuchElementException("No options are selected")
 
    def select_by_value(self, value):
            matched = True
        if not matched:
            raise NoSuchElementException("Cannot locate option with value: %s" % value)
 
    def select_by_index(self, index):
                matched = True
        if not matched:
            raise NoSuchElementException("Could not locate element with index %d" % index)
 
    def select_by_visible_text(self, text):
 
        if matched != True:
            raise NoSuchElementException("Could not locate element with visible text: %s" % text)
 
    def deselect_all(self):

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next