Bug 1638363 [wpt PR 23636] - [docs] document how to get safaridriver logs for debugging, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Thu, 21 May 2020 10:21:49 +0000
changeset 532016 ae42dcb6bd1c586443a3379c46a6bb0b07784655
parent 532015 dc0d1d254891efcae468b6feaf3db92642ddfac2
child 532017 b7bb81b41cb65ff6650c5f214d83df48c4953ba4
push id37449
push userncsoregi@mozilla.com
push dateTue, 26 May 2020 02:38:57 +0000
treeherdermozilla-central@da2c7b0ac9a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1638363, 23636
milestone78.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1638363 [wpt PR 23636] - [docs] document how to get safaridriver logs for debugging, a=testonly Automatic update from web-platform-tests [docs] document how to get safaridriver logs for debugging (#23636) -- wpt-commits: 6592af4107a349b9da01d28b78f769e57db1765b wpt-pr: 23636
testing/web-platform/tests/docs/running-tests/safari.md
--- a/testing/web-platform/tests/docs/running-tests/safari.md
+++ b/testing/web-platform/tests/docs/running-tests/safari.md
@@ -26,8 +26,19 @@ Now, run the tests using the `safari` pr
 ./wpt run safari [test_list]
 ```
 
 This will use the `safaridriver` found on the path, which will be stable Safari.
 To run Safari Technology Preview instead, use the `--channel=preview` argument:
 ```
 ./wpt run --channel=preview safari [test_list]
 ```
+
+## Debugging
+
+To debug problems with `safaridriver`, add the `--webdriver-arg=--diagnose`
+argument:
+```
+./wpt run --channel=preview --webdriver-arg=--diagnose safari [test_list]
+```
+
+The logs will be in `~/Library/Logs/com.apple.WebDriver/`.
+See `man safaridriver` for more information.