We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3bb12a commit 8478afbCopy full SHA for 8478afb
docs/tutorial/part_4.rst
@@ -141,7 +141,7 @@ Put the following code in ``chat/tests.py``:
141
142
@property
143
def _chat_log_value(self):
144
- return self.driver.find_element_by_css_selector('#chat-log').get_property('value')
+ return self.driver.find_element(by=By.CSS_SELECTOR, value="#chat-log").get_property('value')
145
146
Our test suite extends ``ChannelsLiveServerTestCase`` rather than Django's usual
147
suites for end-to-end tests (``StaticLiveServerTestCase`` or ``LiveServerTestCase``) so
0 commit comments