lundi 30 septembre 2019

Actions not working when using online devices with selenium

I am currently automating my tests using kobiton for my online devices. I am having an issue however while trying to swipe the screen using the ios online device.

Im using the same java code that i used for the web automation and it seems to be working for android (although im having issues viewing these sessions to confirm)

Actions action = new Actions(driver);
    action.clickAndHold(first_page_paragraph);
    //you need to release the control from the test
    Thread.sleep(2000);
    //action.moveToElement(second_selection).release();
    action.build().perform();

I keep receiving the following error

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the 
command. Original error: Unhandled endpoint: /session/F900A134-DCC3-424F-A037- 
032986694B66/buttondown -- http://localhost:50207/ with parameters {
wildcards =     (
    "session/F900A134-DCC3-424F-A037-032986694B66/buttondown"
);
} (WARNING: The server did not provide any stacktrace information)

Im only using selenium and dont know how to remedy this

Aucun commentaire:

Enregistrer un commentaire