标签: mobile emulation cefsharp chromium-embedded
我使用了cefsharp65,我需要模拟一个移动环境进行测试。
在chrome中,我可以使用“切换设备工具栏”来选择移动环境。但是cefsharp没有工具栏,有什么方法可以实现吗?
我使用了以下代码,但是什么也不做。
settings.CefCommandLineArgs.Add("--touch-devices", "enabled"); settings.CefCommandLineArgs.Add("--touch-events", "enabled");