Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: linux core dump instructions (#2690)
Yury Semikhatsky924a88410201
diff --git a/browser_patches/webkit/cheatsheet.md b/browser_patches/webkit/cheatsheet.mdindex 2d0e5702ac..63b7fec56d 100644--- a/browser_patches/webkit/cheatsheet.md+++ b/browser_patches/webkit/cheatsheet.md@@ -5,3 +5,15 @@ In `Source\WTF\wtf\win\DbgHelperWin.cpp` replace```#if !defined(NDEBUG)``` with ```#if 1```Then regular `WTFReportBacktrace()` works.++### Enable core dumps on Linux++```bash+mkdir -p /tmp/coredumps+sudo bash -c 'echo "/tmp/coredumps/core-pid_%p.dump" > /proc/sys/kernel/core_pattern'+ulimit -c unlimited+```+Then to read stack traces run the following command:+```bash+Tools/jhbuild/jhbuild-wrapper --wpe run gdb --batch -ex "thread apply all bt" WebKitBuild/WPE/Release/bin/MiniBrowser /tmp/coredumps/core-pid_29652.dump &> trace.txt+```\ No newline at end of file