-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fix PageLoaderElement.innerText
doc.
#167
Conversation
* Change `text content` => `inner text` (textContent is a different element property) * Update link
/// https://developer.mozilla.org/en-US/docs/Web/API/Node/innerText), but | ||
/// behaviour may vary for the different pageloader implementations. | ||
/// This should return the value of | ||
/// [`<element>.innerText`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix this to be within the 80-length limit. I believe the markdown should still work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
/// This should return the value of webdriver's getText() call (see | ||
/// http://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/WebElement.html#getText--), | ||
/// This should return the value of webdriver's | ||
/// [`getText()`](http://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/WebElement.html#getText--), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved, but I don't want to split the URL without a way to test it; do you know of one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know of a way. Let's just leave it as it is then.
text content
=>inner text
(textContent is a different element property)Part of #166