Run Selenium tests in TestWise on macOS Big Sur (Apple Silicon)
Zhimin Zhan
Author | Test Automation Coach | Solopreneur l Speaker | Trainer | Freelance Blogger | International Award-winning Software Engineer | I help teams succeed with Agile/DevOps by implementing real Continuous Testing
macOS Big Sur 11 is released today. The first task I assess machine/OS for software development is to run Selenium WebDriver tests. The short answer is "mostly yes".
- Selenium WebDriver in Ruby. ??
macOS 11 comes with a Ruby distribution (v2.6.3), which works fine. I installed rbenv (with standard HomeBrew) to use the latest Ruby 2.7.2.
2. TestWise ??
TestWise 6 is not purposely built for macOS Big Sur yet, like most mac apps, TestWise runs fine using the OS's Rosetta 2.
3. Chrome & ChromeDriver ??
My preferred browser for test automation is Chrome. But, current stable Chrome v86 does not work on Apple Silicon yet, Chrome Canary (v88) works fine though. I think we just need to wait a few days/weeks for the new Chrome release.
4. Get Selenium tests running in Safari 14. ??
Comparing to Chrome, you need to specifically enable test automation in Safari.
Open Safari Preferences -> "Advanced" -> "Show Develop menu in menu bar"
Then select 'Develop' menu -> "Allow Remote Automation".
Here is the screenshot of a successful Selenium test execution in TestWise 6 on Apple's new OS running new chip (ARM).
Developer in Test
4 年How about the speed, faster?