Files
Aliaksei BooleandDiego Molina ab97220447 Support to MicrosoftEdge on chromium (#1202)
* Images for MicrosoftEdge with chromium was added.

* Example for StandaloneEdge was added.

* Documentation was fixed according to changes.

* * Timeout to waiting pods was upped
* Upload artifact with edge_video was added to workflows

* * Timeout to waiting pods was returned back
* The selecting of right driver version for edge was fixed

* * Rebuild without cache to update image after fix

* * Dockerfile was regenerated

* * Add missed dependencies to edge targets in Makefile

* * Up version

* * test_video was fixed
* timeout to waiting pod of selenium-chrome-node was apped in k8s-deploy-test

* Update README.md

* Update README.md

Co-authored-by: Diego Molina <[email protected]>
2021-02-09 22:07:12 +01:00

14 lines
283 B
Bash
Executable File

#!/bin/bash
WRAPPER_PATH=$(readlink -f /usr/bin/microsoft-edge)
BASE_PATH="$WRAPPER_PATH-base"
mv "$WRAPPER_PATH" "$BASE_PATH"
cat > "$WRAPPER_PATH" <<_EOF
#!/bin/bash
# Note: exec -a below is a bashism.
exec -a "\$0" "$BASE_PATH" --no-sandbox "\$@"
_EOF
chmod +x "$WRAPPER_PATH"