File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
lib/selenium/webdriver/remote Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ ruby_test(name = "remote-ie",
243
243
ruby_test(name = "remote-edge",
244
244
srcs = [
245
245
"spec/integration/selenium/webdriver/*_spec.rb",
246
- "spec/integration/selenium/webdriver/ie /**/*_spec.rb",
246
+ "spec/integration/selenium/webdriver/edge /**/*_spec.rb",
247
247
"spec/integration/selenium/webdriver/remote/**/*_spec.rb"
248
248
],
249
249
include = ["rb/spec/integration", "build/rb/lib"],
Original file line number Diff line number Diff line change @@ -194,7 +194,9 @@ def title
194
194
end
195
195
196
196
def page_source
197
- execute :getPageSource
197
+ execute_script ( 'var source = document.documentElement.outerHTML;' \
198
+ 'if (!source) { source = new XMLSerializer().serializeToString(document); }' \
199
+ 'return source;' )
198
200
end
199
201
200
202
def switch_to_window ( name )
You can’t perform that action at this time.
0 commit comments