Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scroll not working #38

Open
Prasannajnaeyulu opened this issue Sep 23, 2021 · 7 comments
Open

scroll not working #38

Prasannajnaeyulu opened this issue Sep 23, 2021 · 7 comments

Comments

@Prasannajnaeyulu
Copy link

Prasannajnaeyulu commented Sep 23, 2021

I am trying to scroll using the methods provided here but I endup with an error any Idea?

abstract public class Edition107_Base {

I am calling the following in my test I am using appium java client 7.0.0

scroll(ScrollDirection.DOWN);

But I am getting following error...

org.openqa.selenium.UnsupportedCommandException: actions
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.10'
Driver info: driver.version: RemoteWebDriver
	at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:218)
	at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:117)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:152)
	at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
	at org.openqa.selenium.remote.RemoteWebDriver.perform(RemoteWebDriver.java:618)
	at com.test.qa.pages.DriverPageUtil.swipe(DriverPageUtil.java:368)	
@Prasannajnaeyulu
Copy link
Author

@jlipps @Jonahss If you have any leads or workarounds for this problem can you please help me with.

@Prasannajnaeyulu
Copy link
Author

@jlipps and @Jonahss any help on this please?

@jlipps
Copy link
Contributor

jlipps commented Sep 29, 2021

I'm not sure. You'd have to paste your appium logs to see what the issue might be.

@Prasannajnaeyulu
Copy link
Author

@jlipps thanks for the response looks like the error is thrown from appium java client side itself. I can't see anything in appium server log. May I know is this scroll function works for sepcific selenium and appium java client versions? I am using appium java client 7.0.0 and selenium java 3.141.59

@Prasannajnaeyulu
Copy link
Author

I could see in your repo. you are using

testImplementation group: 'io.appium', name: 'java-client', version: '7.3.0'
testImplementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.13.0'

@jlipps
Copy link
Contributor

jlipps commented Sep 29, 2021

Then I guess it's a client version issue. Try using my versions instead and see? I don't really keep up with the Java client, you can report an issue at the Appium java client repo if you want.

@Prasannajnaeyulu
Copy link
Author

Sure I will give a try with those versions thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants