I am a beginner in Python and I'm trying to understand Python Selenium's documentation on page objects: https://selenium-python.readthedocs.io/page-objects.html
What does the set and get methods do in element.py? And how should we call them and use search_text_element in page.MainPage? Given this file structure, how can I find a search text field in a website, enter a string and send By.RETURN?
from How to use __set__ and __get__ in Python Selenium PageObjects
No comments:
Post a Comment