Selenium Grid - Testing multiple devices

Hi everyone, I’m in a project that need to run testing on Laptop (windows), MacOS, iPhone, Android for every development on environment. The project will be tested via web browser (chrome, firefox, … )

Now I’m planning to use selenium grid to trigger all devices to run at once instead of run sequentially but don’t know how to setup these things:

  • Code structures: put all code to 1 project or separate them
  • Code for laptop (windows, MacOS), code for iOS, code for Android

Need some ideas so that I could develop the project better

Thanks you