-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Description
I am using java selenium driver and I want to turn on automatically the responsive design view with specific resolution at firefox start. Is it possible? I tried to set.
String responsiveMode = "{"+"\"key\":\"800x600\",\n"+"\"name\":\"POS Terminal\",\n"+"\"width\":800,\n"+"\"height\": 600"+"}";
FirefoxProfile profile = new FirefoxProfile();
profile.setPreference("devtools.responsiveUI.presets", responsiveMode);
But that did not work. Any recommendation?
Metadata
Metadata
Assignees
Labels
No labels