![]() ![]() List.add(String.valueOf(ports.getServerPort())) I am starting appium with command like in terminal/command line.Ĭurrently using ProcessBuilder but before used some other way which are tons in Java. Use the "appium plugin" command to install the one(s) you want to use.īasically what I’m trying to do is start appium automatically but appium is trying to install a module when I run it automatically, is there any way I can disable/skip appium to make the installation of modules optional ex. You can provide the following URLS in your client code to connect to this server: Appium REST http interface listener started on Requiring driver at /Users/cj/.appium/node_modules/appium-uiautomator2-driver Error in loading the driver was:īut when I start Appium normally in the terminal it would run and wont install sharp Welcome to Appium v2.0.0-rc.1 ee[39m Requiring driver at /Users/cj/.appium/node_modules/appium-uiautomator2-driverĮe[39m Could not load driver 'uiautomator2', so it will not be available. Hello, sorry for the confusion the issue was that when I start appium via a ServerManager class it is trying to install sharp module for some reason ee[39m Įe[39m Attempting to load driver uiautomator2. Hope you can help me with this issue I don’t need sharp at the moment I don’t know why its installing during when I run the test. change permissions in of node_modules (Thought maybe its a permission issue).This issue does not occur if I run appium normally from the terminal and appium is working find through the appium inspector when I start session Something went wrong installing the "sharp" module Have you installed a driver that supports those capabilities? Run 'appium driver list -installed' to see. ![]() Original error: Could not find a driver for automationName 'UIAutomator2' and platformName 'ANDROID'. Message: An unknown server-side error occurred while processing the command. Which in return result to this: : Could not start a new session. ![]() Error in loading the driver was:Įe[39m Something went wrong installing the "sharp" moduleĮe[39m Cannot find module './build/Release/sharp-darwin-圆4.node' ![]() Hello just want to ask a question as I’m still new to appium when I run my test I’m getting this error for appium: e e[39m Could not load driver 'uiautomator2', so it will not be available. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |