We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to get html source of the page or element?
.source() protocol is there, but I didn't manage to get it running, the docs confused me.
The text was updated successfully, but these errors were encountered:
Using Nightwatch's wrapper for selenium function source (DOC), this can be accomplished relatively easily.
source
EX:
browser .url("http://www.google.com") .source(function (result){ // Source will be stored in result.value console.log(result.value); })
Sorry, something went wrong.
thanx!
No branches or pull requests
Is it possible to get html source of the page or element?
.source() protocol is there, but I didn't manage to get it running, the docs confused me.
The text was updated successfully, but these errors were encountered: