summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebContentServer.ipc
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-05-28 20:54:33 +0200
committerAndreas Kling <kling@serenityos.org>2023-05-28 22:03:57 +0200
commit097b5e4803dff84b97821a0b5ce5f5ac0eb6b6ff (patch)
treecf557093fe7df02897c6341520cb44f9d3b7a2ef /Userland/Services/WebContent/WebContentServer.ipc
parent58c1cb80bbaeb4edb6b869afc2f68b5e79702c07 (diff)
downloadserenity-097b5e4803dff84b97821a0b5ce5f5ac0eb6b6ff.zip
WebContent+headless-browser: Use document.body.innerText for text tests
This should be less fickle than the "select all & copy selected text" trick we were doing earlier.
Diffstat (limited to 'Userland/Services/WebContent/WebContentServer.ipc')
-rw-r--r--Userland/Services/WebContent/WebContentServer.ipc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/WebContentServer.ipc b/Userland/Services/WebContent/WebContentServer.ipc
index 748b6deb87..ceea4f0375 100644
--- a/Userland/Services/WebContent/WebContentServer.ipc
+++ b/Userland/Services/WebContent/WebContentServer.ipc
@@ -50,6 +50,7 @@ endpoint WebContentServer
run_javascript(DeprecatedString js_source) =|
dump_layout_tree() => (DeprecatedString dump)
+ dump_text() => (DeprecatedString dump)
get_selected_text() => (DeprecatedString selection)
select_all() =|