Skip to content
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

Explaining "visible" as within the scrollarea #463

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ThomasLandauer
Copy link
Contributor

Maybe this information could be merged with "Accessing To Hidden Text" into a new heading?

Maybe this information could be merged with "Accessing To Hidden Text" into a new heading?
@@ -120,6 +120,8 @@ echo $crawler->filter('#installing-the-framework')->text();
$client->takeScreenshot('screen.png'); // Yeah, screenshot!
```

"visible" means that the text is within the current scroll area. To check content further down on the page, you can adjust the window size (see below).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually a bit more complex than that: https://www.w3.org/TR/webdriver/#element-displayedness

Maybe can we just point to the spec?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand what their bottom line is :-(
Please decide yourself. My point was to give some explanation (or hint at least) if "visible" just means "present in the source code" or "actually displayed on the current screen".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants