I’ve carried out a POC of testing a Desktop eCommerce web site on a cellular browser, utilizing Selenium 4.x alone, operating the exams utilizing Browser Emulation utilizing Chrome Developer Protocol (CDP, now going to be BiDi). I used fully Selenium 4.0, and Java alone as it's principally a Desktop web site operating on cellular browser.
Now the Shopper desires the identical exams run on actual Android/iOS units connected to the PC utilizing USB ports.
There’s a related query on Stack Overflow. It helped me quite a bit so far as excessive degree course besides it’s coping with native cellular app as an alternative of mobileweb, plus altering some deprecated courses for utilizing Selenium 4.x
I’m in search of extra up to date documentation/solutions and so forth.,