-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question #4
Comments
I'm not an expert on this and I'm not sure which part of the tutorial you're referring to, but I hate to see unanswered questions. You can always access the driver directly: https://page-objects.readthedocs.io/en/latest/tutorial.html#accessing-the-webdriver-directly Something like this: |
Hi there, For example the following html:
Here's the python to access the text of the div box:
If this doesn't work, the page element constructor might be incorrect and you're picking up the wrong element. |
Hi I'll use this issue instead of creating new one. |
I see your example of using text. If I assign text to the page object in your example, everything works fine. If I don't I just get None type. I want to extrapolate the text from the page object. Maybe I'm doing it wrong?
The text was updated successfully, but these errors were encountered: