We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 514b0c4 commit d5dad1eCopy full SHA for d5dad1e
lib/appium_lib_core/common/base/bridge.rb
@@ -185,13 +185,8 @@ def session_capabilities
185
::Selenium::WebDriver::Remote::Capabilities.json_create execute(:get_capabilities)
186
end
187
188
- # For Appium
189
- # override
+ # Override for safe. Newer ruby selenium webdriver already has the same code
190
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;')
195
execute :get_page_source
196
197
0 commit comments