I'm currently on a project in which we've set up a test infrastructure for automated regression testing of the customer's website (that is, the desktop and mobile versions thereof).
My question concerns the mobile site: What we're doing at the moment is using Behat with the Mink API in order to talk to Selenium Grid on different virtual machines (for parallelization). On these machines we're running Firefox browsers with a modified profiles that "fakes" being a different user agent (e.g. an android mobile browser). We then execute automated test cases on the delivered mobile version of the page.
What I'm now trying to accomplish is to make these tests more authentic since we've observed that the (destop) browser we use can behave quite different from the actual built-in mobile browsers in use in the real world.
The best thing would be to be able to actually control an emulator or a real device even (we got some in stock) through the Selenium Grid.
Unfortunately, I don't have any idea where to start on this since I have few to no prior experience with the testing of "real" mobile web applications.
So here's my question: Does anyone of you have a good tip for me where to start or what to look for? I'd be very thankful for any kind of guidance on how o go about this ...
Yours, Gabriel