Simulate mobile web automation test on PC

I just got started with selenium, and I realized that there was no compatibility problem until I was halfway there. After searching the Internet for a long time, I found that it was compatible with the simulated mobile phone in the browser.
Add in setup():
Insert picture description here

Or below
Insert picture description here

Guess you like

Origin blog.csdn.net/Love_Polaris/article/details/107079465