1. After the list selection, get the text content directly and get the value of the button that should be displayed after the selection.
2. After the value value with a space, you can use. Strip () to delete the front and back spaces to assert
3. Some values after the value need to convert the type to assert success
4. Problems with the checkbox and the traversal of the paging
Each time the checkbox is clicked or the page number is clicked, the pages are refreshed, the elements of the webelement are expired, and the For loop's traversal fails.
Error:
is or the page has been refreshed
There is no solution at the moment, and the great God is in need of help
5. Using sublime software to write code, run the script and found that this error often occurs:
not match no outer indentation level
A half-day error was found to be the space indent problem:
So check > Indent > Use spaces to indent, so you're done.
Later, you will continue to record the problems you have encountered ...
Problems in the practice process of Selenium+python unittest