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
test(android): support running emulator without hardware acceleration (#40353)
Dmitry Gozman645b3fbbfaf0
diff --git a/utils/avd_start.sh b/utils/avd_start.shindex 1c3bc53418..77bf7e45ad 100755--- a/utils/avd_start.sh+++ b/utils/avd_start.sh@@ -8,9 +8,14 @@ fibash $PWD/utils/avd_stop.sh+EMULATOR_EXTRA_ARGS=()+if [[ "${PWTEST_ANDROID_NO_ACCEL}" == "1" ]]; then+ # Software-only emulation: disable HW hypervisor and use software GPU.+ EMULATOR_EXTRA_ARGS+=(-accel off -gpu swiftshader_indirect)+fi+echo "Starting emulator"-# nohup ${ANDROID_HOME}/emulator/emulator -avd android35 -gpu swiftshader &-nohup ${ANDROID_HOME}/emulator/emulator -avd android35 -no-audio -no-window -no-boot-anim -no-snapshot &+nohup ${ANDROID_HOME}/emulator/emulator -avd android35 -no-audio -no-window -no-boot-anim -no-snapshot "${EMULATOR_EXTRA_ARGS[@]}" &${ANDROID_HOME}/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'${ANDROID_HOME}/platform-tools/adb devicesecho "Emulator started"