Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10398 from appium/isaac-source-docs
Add source docs to table of contents
  • Loading branch information
jlipps committed Mar 22, 2018
2 parents 5fb4348 + c6fc626 commit 01eae28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions commands-yml/commands/session/source.yml
Expand Up @@ -8,8 +8,8 @@ description:

This method is useful for inspecting your application hierarchy and using that to write [selectors](/docs/en/commands/element/find-element.md)

(NOTE: iOS and Android don't have standard ways of defining their application source, so on calls to 'Get Page Source' Appium traverses the app hierarchy
and creates an XML document. Thus, getting the source can oftentime be an expensive and time-consuming operation)
(NOTE: iOS and Android don't have standard ways of defining their application source, so on calls to 'Get Page Source' Appium traverses the app hierarchy
and creates an XML document. Thus, getting the source can often be an expensive and time-consuming operation)

example_usage:
java:
Expand Down Expand Up @@ -63,7 +63,6 @@ client_support:
csharp: true
javascript_wd: true
javascript_wdio: true


# Information about the HTTP endpoints
endpoint:
Expand All @@ -77,6 +76,6 @@ endpoint:
description: The sources of current context.

# Links to specifications. Should link to at least one specification
specifications:
specifications:
w3c: https://www.w3.org/TR/webdriver/#dfn-get-page-source
jsonwp: https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidsource
1 change: 1 addition & 0 deletions docs/toc.js
Expand Up @@ -28,6 +28,7 @@ module.exports = {
["Get Session Capabilities", "get.md"],
["Go Back", "back.md"],
["Screenshot", "screenshot.md"],
["Source", "source.md"],
["Timeouts", ["timeouts",
["Timeouts", "timeouts.md"],
["Implicit Wait", "implicit-wait.md"],
Expand Down

0 comments on commit 01eae28

Please sign in to comment.