amartincolville commented on issue #22326:
URL: https://github.com/apache/superset/issues/22326#issuecomment-1543422360

   hey @asayeb 
   you might need to switch to firefox instead of chrome driver:
   in your `Dockerfile`:
   ```
   RUN wget 
https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
 && \
       tar -xvzf geckodriver* && \
       chmod +x geckodriver && \
       mv geckodriver /usr/local/bin/
   
   # Firefox installation for M1 issues with Chromedriver
   RUN apt install gnupg2 software-properties-common -y
   
   RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 
A6DCF7707EBC211F && \ 
       apt-add-repository "deb 
http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu focal main" && \
       apt update && \
       apt install firefox -y
   ```
   And in your `config.py` file:
   ```
   WEBDRIVER_TYPE = "firefox"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to