Skip to content

Commit d5dad1e

Browse files
authored
chore: update a comment in code
1 parent 514b0c4 commit d5dad1e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/appium_lib_core/common/base/bridge.rb

+1-6
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,8 @@ def session_capabilities
185185
::Selenium::WebDriver::Remote::Capabilities.json_create execute(:get_capabilities)
186186
end
187187

188-
# For Appium
189-
# override
188+
# Override for safe. Newer ruby selenium webdriver already has the same code
190189
def page_source
191-
# For W3C
192-
# execute_script('var source = document.documentElement.outerHTML;' \
193-
# 'if (!source) { source = new XMLSerializer().serializeToString(document); }' \
194-
# 'return source;')
195190
execute :get_page_source
196191
end
197192

0 commit comments

Comments
 (0)