Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not run selenium test with option BROWSER=edge #450

Closed
khanhcd92 opened this issue Sep 7, 2023 · 4 comments
Closed

Can not run selenium test with option BROWSER=edge #450

khanhcd92 opened this issue Sep 7, 2023 · 4 comments
Milestone

Comments

@khanhcd92
Copy link

I tried with below command but it was not run

docker run -it --shm-size=2g \
            -v `pwd`/test/selenium.robot:/opt/robotframework/tests/selenium.robot:Z \
            -e BROWSER=edge \
            ppodgorsek/robot-framework:latest

An exception was thrown as below
WebDriverException: Message: unknown error: msedge failed to start: crashed. (unknown error: DevToolsActivePort file doesn't exist) (The process started from msedge location /opt/microsoft/msedge/msedge is no longer running, so msedgedriver is assuming that msedge has crashed.)

@ppodgorsek
Copy link
Owner

I cannot reproduce the issue, it is working fine on my computer and in the automated CI pipeline.

Which device are you using?

@khanhcd92
Copy link
Author

@ppodgorsek

I ran it on server as below:
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-01

@khanhcd92
Copy link
Author

@ppodgorsek pp

Could you give more information about your computer and in the automated CI pipeline ?

@ppodgorsek
Copy link
Owner

A 5-minute online search revealed that Amazon servers (EC2 Graviton, ARM-based) cannot run linux/amd64 images... (the image's architecture is shown on the Docker Hub)

I added explanations in the troubleshooting section of the README. (see PR #451)

I also created a separate enhancement to build and push images for multiple architectures, rather than only linux/amd64. (see #455)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants