Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
I want to test Selenium "select" function.so I choose sina website to select one option and input text in textarea.then search it .but when I run this test,it has error:
Traceback(most recent call last):File"test_sina_select.py", line 32,in tearDown
self.driver.close()File"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 688,in close
self.execute(Command.CLOSE)File"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 319,in execute
response = self.command_executor.execute(driver_command, params)File"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 376,in execute
return self._request(command_info[0], url, body=data)File"/usr/lib/python2.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 399,in _request
resp = self._conn
Just had the same problem. The solution was to change the owner of the folder with a script recursively. In my case the folder had root:root owner:group and I needed to change it to ubuntu:ubuntu.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that
you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice
sessions to improve your knowledge and scores.
manpreet
Best Answer
2 years ago
I have one question:I want to test "select" and "input".can I write it like the code below: original code:
I want to test Selenium "select" function.so I choose sina website to select one option and input text in textarea.then search it .but when I run this test,it has error: