You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create maven project, when I made a class in main java folder selenium.support package does not exist put it exists when I made a class in test java folder, so I edited project structure models and made selenium support package scope from "Runtime" to "Compile" everything works fine and I used pagefactory that I wanted to set and my test also works fine.
When I tried to run my test using maven, With this command "mvn clean test -Pandroid" the errors came to me.
Environment
Java client build version or git revision if you use some snapshot: java client 8.5.1
Appium server version or git revision if you use some snapshot: Appium 2.0.0-rc.5
Desktop OS/version used to run Appium if necessary: Windows 10
Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: node v18.16.0
Mobile platform/version under test: Android 11.0
Real device or emulator/simulator: emulator/simulator
Details
My test works fine, when running it from testng.xml file or from IDE but when run it from terminal not works. The main problem is in org.openqa.selenium.support because it works with compile not runtime scope. Also, The IDE that I work with is intelliJ IDEA.
Description
I tried to create maven project, when I made a class in main java folder selenium.support package does not exist put it exists when I made a class in test java folder, so I edited project structure models and made selenium support package scope from "Runtime" to "Compile" everything works fine and I used pagefactory that I wanted to set and my test also works fine.
When I tried to run my test using maven, With this command "mvn clean test -Pandroid" the errors came to me.
Environment
Details
My test works fine, when running it from testng.xml file or from IDE but when run it from terminal not works. The main problem is in org.openqa.selenium.support because it works with compile not runtime scope. Also, The IDE that I work with is intelliJ IDEA.
Code To Reproduce Issue [ Good To Have ]
My Sample Code
Update
I used Github actions and the same error came up you can see it in My Sample Code and also check the actions logs
The text was updated successfully, but these errors were encountered: