webdriver-bidi demo
This commit is contained in:
parent
6c4a43bea6
commit
0ad4afe77d
3 changed files with 128 additions and 1 deletions
10
chromium-headless-wrapper
Executable file
10
chromium-headless-wrapper
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
# This is a hack around `headless_shell --version` not working
|
||||
set -eu
|
||||
|
||||
if [ "$1" = "--version" ]; then
|
||||
echo "Chromium $(rpm -q --queryformat '%{VERSION}' chromium-headless) Fedora Project"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exec /usr/lib*/chromium-browser/headless_shell "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue