Skip to content

Instantly share code, notes, and snippets.

@dipakkumar1225
dipakkumar1225 / Passed_Image_Element
Created June 21, 2024 02:46
When element-wait is not passed in --use-plugins
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
[Appium] Attempting to load plugin images...
[Appium] Attempting to load plugin gestures...
[Appium] Attempting to load plugin ocr...
[Appium] Welcome to Appium v2.3.0
[Appium] Non-default server args:
[Appium] { address: '127.0.0.1',
[Appium] allowInsecure: [ 'adb_shell' ],
@dipakkumar1225
dipakkumar1225 / Failed_Image_Element_Click
Created June 21, 2024 02:43
When element-wait is passed in --use-plugins
[Appium] Attempting to load plugin images...
[Appium] Attempting to load plugin gestures...
[Appium] Attempting to load plugin ocr...
[Appium] Attempting to load plugin element-wait...
[Appium] Welcome to Appium v2.3.0
[Appium] Non-default server args:
[Appium] { address: '127.0.0.1',
[Appium] allowInsecure: [ 'adb_shell' ],
[Appium] loglevel: 'info:debug',
[Appium] longStacktrace: true,
2024-06-07 11:25:22:898 [Appium] Attempting to load plugin images...
2024-06-07 11:25:22:900 [Appium] Attempting to load plugin element-wait...
2024-06-07 11:25:22:900 [Appium] Attempting to load plugin gestures...
2024-06-07 11:25:22:900 [Appium] Attempting to load plugin appium-dashboard...
2024-06-07 11:25:22:901 [Appium] Attempting to load plugin ocr...
2024-06-07 11:25:22:904 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\@appium\images-plugin\index.js
2024-06-07 11:25:22:909 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\appium-wait-plugin\lib\index.js
2024-06-07 11:25:22:911 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\appium-gestures-plugin\lib\index.js
2024-06-07 11:25:22:912 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\appium-dashboard\lib\index.js
2024-06-07 11:25:22:914 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\appium-ocr-plugin\build\index.js
[Appium] Welcome to Appium v2.3.0
[Appium] Non-default server args:
[Appium] { address: '127.0.0.1',
[Appium] basePath: '/wd/hub/',
[Appium] loglevel: 'info:debug',
[Appium] relaxedSecurityEnabled: true,
[Appium] sessionOverride: true,
[Appium] useDrivers: [ 'uiautomator2' ] }
[Appium] Attempting to load driver uiautomator2...
[Appium] Appium REST http interface listener started on http://127.0.0.1:4723/wd/hub
2024-04-11 13:13:07:025 [Appium] Attempting to load plugin images...
2024-04-11 13:13:07:026 [Appium] Attempting to load plugin element-wait...
2024-04-11 13:13:07:026 [Appium] Attempting to load plugin gestures...
2024-04-11 13:13:07:026 [Appium] Attempting to load plugin appium-dashboard...
2024-04-11 13:13:07:028 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\@appium\images-plugin\index.js
2024-04-11 13:13:07:033 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\appium-dashboard\lib\index.js
2024-04-11 13:13:07:034 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\appium-wait-plugin\lib\index.js
2024-04-11 13:13:07:035 [Appium] Requiring plugin at C:\Users\DeepakV\.appium\node_modules\appium-gestures-plugin\lib\index.js
2024-04-11 13:13:08:985 [Appium] ImageElementPlugin has been successfully loaded in 1.960s
2024-04-11 13:13:08:985 [Appium] AppiumDashboardPlugin has been successfully loaded in 1.959s
D:\MobiWebAutoFramework\mobile-web\config>appium --base-path="/wd/hub/" --allow-insecure="adb_shell" --relaxed-security --session-override --use-drivers="uiautomator2" --use-plugins="images, element-wait, appium-dashboard" --config "%cd%\settings\serverconfig.json"
[Appium] Attempting to load plugin images...
[Appium] Requiring plugin at C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\@appium\images-plugin
[Appium] Attempting to load plugin element-wait...
[Appium] Requiring plugin at C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\appium-wait-plugin
[Appium] Attempting to load plugin appium-dashboard...
[Appium] Requiring plugin at C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\appium-dashboard
[ADB] Found 3 'build-tools' folders under 'D:\Software_Installed\Android_Sdk' (newest first):
[ADB] D:\Software_Installed\Android_Sdk\build-tools\34.0.0
[ADB] D:\Software_Installed\Android_Sdk\build-tools\33.0.2
public class CucumberListener implements ConcurrentEventListener {
public static String stepName;
AtomicInteger atomicInteger = new AtomicInteger(1);
@Override
public void setEventPublisher(EventPublisher eventPublisher) {
eventPublisher.registerHandlerFor(TestRunStarted.class, this::beforeTestRun);
eventPublisher.registerHandlerFor(TestSourceRead.class, this::readFeatureFile);
eventPublisher.registerHandlerFor(TestRunFinished.class, this::afterTestRun);
@dipakkumar1225
dipakkumar1225 / CucumberListener
Created October 28, 2023 15:50
CucumberListener
public class CucumberListener implements ConcurrentEventListener {
public static String stepName;
AtomicInteger atomicInteger = new AtomicInteger(1);
@Override
public void setEventPublisher(EventPublisher eventPublisher) {
eventPublisher.registerHandlerFor(TestRunStarted.class, this::beforeTestRun);
eventPublisher.registerHandlerFor(TestSourceRead.class,
this::readFeatureFile);
@dipakkumar1225
dipakkumar1225 / Working.txt
Created October 19, 2023 16:37
Working.txt
[Appium] Welcome to Appium v2.1.3
[Appium] Non-default server args:
[Appium] { address: '127.0.0.1',
[Appium] basePath: '/wd/hub/',
[Appium] loglevel: 'info:debug',
[Appium] relaxedSecurityEnabled: true,
[Appium] sessionOverride: true,
[Appium] useDrivers: [ 'uiautomator2' ] }
[Appium] Attempting to load driver uiautomator2...
[Appium] Appium REST http interface listener started on http://127.0.0.1:4723/wd/hub
@dipakkumar1225
dipakkumar1225 / Unsupported CSS selector.txt
Created October 19, 2023 16:31
Unsupported CSS selector
[Appium] Welcome to Appium v2.1.3
[Appium] Non-default server args:
[Appium] { address: '127.0.0.1',
[Appium] basePath: '/wd/hub/',
[Appium] loglevel: 'info:debug',
[Appium] relaxedSecurityEnabled: true,
[Appium] sessionOverride: true,
[Appium] useDrivers: [ 'uiautomator2' ] }
[Appium] Attempting to load driver uiautomator2...
[Appium] Appium REST http interface listener started on http://127.0.0.1:4723/wd/hub