From 2a9e97ed9941c6d74aa03afd9a93a2f05d9ac6dc Mon Sep 17 00:00:00 2001 From: dr695h Date: Thu, 10 Dec 2020 22:57:18 -0500 Subject: [PATCH] Issue #221 initial test for webgl support --- bin/chromium-browser.sh | 2 +- test/webgl.robot | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 test/webgl.robot diff --git a/bin/chromium-browser.sh b/bin/chromium-browser.sh index f0500734..9698aeec 100755 --- a/bin/chromium-browser.sh +++ b/bin/chromium-browser.sh @@ -1,3 +1,3 @@ #!/bin/sh -exec /usr/lib/chromium/chrome-original --disable-gpu --no-sandbox $@ +exec /usr/lib/chromium/chrome-original --disable-gpu --disable-software-rasterizer --use-gl=swiftshader --no-sandbox $@ diff --git a/test/webgl.robot b/test/webgl.robot new file mode 100644 index 00000000..b46e6a6d --- /dev/null +++ b/test/webgl.robot @@ -0,0 +1,11 @@ +*** Settings *** +Library SeleniumLibrary + +*** Variables *** +${BROWSER} %{BROWSER} + +*** Test Cases *** +Verify WebGl + Open Browser https://browserleaks.com/webgl ${BROWSER} + Element Should Contain id:webgl1_status True + Capture Page Screenshot