Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting 'TypeError: argument of type 'NoneType' is not iterable' after upgrading Python bindings to 2.49.1 #1500

Closed
valermor opened this issue Jan 19, 2016 · 1 comment

Comments

@valermor
Copy link

File ".../tests/acceptance/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 712, in find_element
    {'using': by, 'value': value})['value']
  File ".../tests/acceptance/venv/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 201, in execute
    self.error_handler.check_response(response)
  File ".../tests/acceptance/venv/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 164, in check_response
    if 'screen' in value:
TypeError: argument of type 'NoneType' is not iterable

On the log I see this is happening when receiving a NoSuchElementException, which is the result of a find_element on a non-existing element on the page.
Notice I am using Chromedriver v.47.0.2526.73 on Win XP

How to reproduce it

I guess this is the way to reproduce it, i.e. by trying to locate an element which is not going to be found on the page. I will confirm later on during the day with snippet.

Further info:

Using capabilities:
mobileEmulationEnabled: False
rotatable: False
browserConnectionEnabled: False
acceptSslCerts: True
cssSelectorsEnabled: True
chrome: {u'userDataDir': u'C:\DOCUME1\ADMINI1\LOCALS~1\Temp\scoped_dir944_19782'}
javascriptEnabled: True
databaseEnabled: False
hasTouchScreen: False
takesScreenshot: True
webdriver.remote.sessionid: 7d09f2445d2f467abe956bde72f64aec
browserName: chrome
version: 47.0.2526.73
hasMetadata: True
platform: Windows NT
nativeEvents: True
applicationCacheEnabled: False
webStorageEnabled: True
locationContextEnabled: True
handlesAlerts: True
takesHeapSnapshot: True

@AutomatedTester
Copy link
Member

Will do another point release now, sorry for that.

@lock lock bot locked and limited conversation to collaborators Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants