Open
Description
Hi @saikrishna321 I am trying to scroll to element using the below command. Script got executing without any error, but scroll won't happening. Could you please help me on this issue?
Map<String, Object> params= new HashMap<>();
System.out.println();
params.put("finder", Map.of("using" ,"-flutter key" , "value" , "loginButton"));
params.put("scrollView", Map.of("using" ,"-flutter type" , "value" , "CustomScrollView"));
params.put("delta", 100);
params.put("scrollDirection", "down");
params.put("maxScrolls", 50);
params.put("settleBetweenScrollsTimeout", 20);
params.put("dragDuration", 50);
String commandName = String.format("%s: %s", "flutter", "scrollTillVisible");
((JavascriptExecutor) driver).executeScript(commandName, params);
Metadata
Metadata
Assignees
Labels
No labels