======================================================================
ERROR: test_layout_and_styling (functional_tests.test_layout_and_styling.LayoutAndStylingTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/iman/Env/selenium-test/35-test/functional_tests/test_layout_and_styling.py", line 15, in test_layout_and_styling
inputbox.location['x'] + inputbox.size['width'] / 2,
File "/home/iman/Env/selenium-test/lib/python3.5/site-packages/selenium/webdriver/remote/webelement.py", line 403, in location
new_loc = {"x": round(old_loc['x']),
TypeError: 'NoneType' object is not subscriptable
----------------------------------------------------------------------
>>> inputbox = browser.get_item_input_box()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'WebDriver' object has no attribute 'get_item_input_box'
>>> inputbox = browser.find_element_by_id('id_text')
>>> inputbox.location
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/iman/Env/selenium-test/lib/python3.5/site-packages/selenium/webdriver/remote/webelement.py", line 403, in location
new_loc = {"x": round(old_loc['x']),
TypeError: 'NoneType' object is not subscriptable
>>> inputbox.id
'da24cd29-d4cb-4777-abd1-8a76c950df33'
>>> inputbox._w3c
True
I saw this problem a coupke of days ago. You need to upgrade geckodriver and selenium i think.
--
You received this message because you are subscribed to the Google Groups "Obey the testing goat! Test-Driven Web Development with Python book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-go...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Harry Percival
+44 78877 02511
Yes, I saw this Friday. I can confirm updating gecko driver worked. I had already updated Firefox and selenium. One of those broke things.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-goat-book+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
------
Harry Percival
+44 78877 02511
You received this message because you are subscribed to the Google Groups "Obey the testing goat! Test-Driven Web Development with Python book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obey-the-testing-goat-book+unsub...@googlegroups.com.
id_textelements element