Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\yt.py", line 18, in <module>
- d.find_element_by_class_name('show-more').click()
- File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webelement.py",
- line 70, in click
- self._execute(Command.CLICK_ELEMENT)
- File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webelement.py",
- line 404, in _execute
- return self._parent.execute(command, params)
- File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", l
- ine 195, in execute
- self.error_handler.check_response(response)
- File "C:\Python27\lib\site-packages\selenium\webdriver\remote\errorhandler.py"
- , line 170, in check_response
- raise exception_class(message, screen, stacktrace)
- selenium.common.exceptions.ElementNotVisibleException: Message: Element is not c
- urrently visible and so may not be interacted with
- Stacktrace:
- at fxdriver.preconditions.visible (file:///c:/users/admini~1/appdata/local/t
- emp/tmpole1ag/extensions/fxdriver@googlecode.com/components/command-processor.js
- :9615)
- at DelayedCommand.prototype.checkPreconditions_ (file:///c:/users/admini~1/a
- ppdata/local/temp/tmpole1ag/extensions/fxdriver@googlecode.com/components/comman
- d-processor.js:12265)
- at DelayedCommand.prototype.executeInternal_/h (file:///c:/users/admini~1/ap
- pdata/local/temp/tmpole1ag/extensions/fxdriver@googlecode.com/components/command
- -processor.js:12282)
- at DelayedCommand.prototype.executeInternal_ (file:///c:/users/admini~1/appd
- ata/local/temp/tmpole1ag/extensions/fxdriver@googlecode.com/components/command-p
- rocessor.js:12287)
- at DelayedCommand.prototype.execute/< (file:///c:/users/admini~1/appdata/loc
- al/temp/tmpole1ag/extensions/fxdriver@googlecode.com/components/command-processo
- r.js:12229)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement