Unknown error: call function result missing 'value' Appium Hybrid App

后端 未结 3 1357
天涯浪人
天涯浪人 2021-01-25 14:24

I have ussue when Sending Keys to some field

driver.findElement(By.xpath(\"//*[@id=\\\"login-main\\\"]/a\")).click();
Thread.sleep(1000);
driver.findElement(By.         


        
3条回答
  •  渐次进展
    2021-01-25 15:11

    So, not sure what route you use to manage your driver, but you need to pass the --chromedriver-executable parameter to your appium run. I'm assuming a new appium version or appium-chromdriver npm package will be released at some point, but until then, try the following:

    If you start appium via the command line this is as simple as running: appium --chromedriver-executable=/path/to/chromedriver.exe (pointing at a 2.36 chromedriver executable)

    If you start appium using an AppiumServiceBuilder instance, you need to add: serviceBuilderInstance..withArgument((ServerArgument) () -> "--chromedriver-executable", chromeExecutablePath);

    Hope this helps, it seems to be working for me!

提交回复
热议问题