Skip to content

Can't able to scroll to element by using Appium Flutter Integration #112

Open
@RubanViswanathan

Description

@RubanViswanathan

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions