Programming Language used: Python3 (3.8.10).Operating System: Ubuntu 20.04 and/or 21.04.In QA environment, we are trying to perform automated testing. This web application will be hosted on Ubuntu server. I recommend the $69/mo Mac Mini on MacStadium running macOS Sierra 10.12 and the latest Safari.We are trying to setup an automation testing environment for a web application. In my experience, Safari (or at least safaridriver) does not behave predictably on VMs. So while we launched 6 parallel instances of Chrome and Firefox each on a single EC2 server, we'll need a whole dedicated Mac machine for every instance of Safari on Selenium. So what's the catch? You can only run one instance at a time. Remember those drivers we installed and moved around for Chrome and Firefox? Apple built a Selenium-compatible driver right into Safari, which means that the latest Safari runs performant and smooth on Selenium. On the one hand, the latest version of Safari ships with a native safaridriver. Selenium and Safari have a love-hate relationship. Then launch the instance with a key pair you own, and SSH into it like so:īut I have some bad news. So set up a security group with the following configuration: In my experience, a t2.micro EC2 instance on Ubuntu 16.04 works perfectly!īut heads up! Your Selenium Hub must be open on port 4444 (and it's generally a good idea to leave a port open for SSH).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |