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

Getting the complete DOM #21

Closed
lolaclinton opened this issue Aug 2, 2016 · 4 comments
Closed

Getting the complete DOM #21

lolaclinton opened this issue Aug 2, 2016 · 4 comments
Labels

Comments

@lolaclinton
Copy link

Hi,
I was wondering how I can get the full DOM for a page. I tried putting in the html element or the body element but it crashed on them both.
Thanks

@lolaclinton
Copy link
Author

lolaclinton commented Aug 3, 2016

I gave it the document.body, from the home page of the mcdonalds.com website which seemed okay, but I got the following error
org.openqa.selenium.ElementNotVisibleException: element not visible: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('email') does not support selection.
Does that mean the elements need to be visible to be read? Is there a way around it?

@azaslavsky
Copy link
Owner

Hmm, I am 90% sure this is the same issue as the one here: #18. I'm very slammed at work right now, but I will try and look at this as soon as I have a moment.

@ssnet-xyz
Copy link

ssnet-xyz commented Sep 30, 2016

Hmm, for me it crashes on inputs of type submit and button, visible or not. (Love this tool by the way!)

@azaslavsky azaslavsky added the bug label Dec 20, 2017
@azaslavsky
Copy link
Owner

This issue should be resolved by commit #32

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

No branches or pull requests

3 participants