Selenium CaptureEntireScreenShot throws error in IE - selenium

How to resolve this below issues while capture screen in IE?
I have registered the snapsie.dll in C:\Windows
Error Detail:
"Error: Snapsie failed: Is it installed? Does it have permission to run as an add-on? See http://snapsie.sourceforge.net/"

Related

Unable to create quarkus project on intellij

Getting the following error:
Initialization failed for 'https://code.quarkus.io' Please check URL, network and proxy settings. Error message: Cannot download 'https://code.quarkus.io/api/extensions': code.quarkus.io
Can't figure out where to start with this issue

Unable to Switch Appium Context

We have different WebView workflows for our App. I'm able to switch context for the Workflows which has contexts NATIVE_APP, WEBVIEW_com.bluebird.mobile and WEBVIEW_Terrace (3 contexts),
And not able to switch context for the workflows which has only two context NATIVE_APP and WEBVIEW_Terrace. While switching the context I get the following error:
Appium error: An unknown server-side error occurred while processing the command.
Original error: An unknown server-side error occurred while processing the command.
Original error: unknown error: Failed to get sockets matching: #weblayer_devtools_remote_.*14722
(make sure the app has its WebView/WebLayer configured for debugging)
(Driver info: chromedriver=105.0.5195.52 (412c95e518836d8a7d97250d62b29c2ae6a26a85-refs/branch-heads/5195#{#853}), platform=Linux 5.16.7-200.fc35.x86_64 x86_64)
When I look on the internet for the error "make sure the app has its WebView/WebLayer configured for debugging", I see solution to set setWebContentsDebuggingEnabled to true and we already set this configuration because some of the workflows are working.
Please let me know what I need to do here? OR what can I ask my DEV team to fix this.

Make sure the correct deployment target has been selected for its compilation in Xcode

I am using the following desiredCapabilities in my codeceptconf.js file.
Appium: { // IOS local Simulator iPhone 13
app: "./ipa/arvApp.app",
platform: "iOS",
desiredCapabilities: {
deviceName: "iPhone 13",
//os_version: "15.5",
"automationName": "XCUITest",
autoAcceptAlerts: 'true' ,
autoDissmissAlerts: 'true',
},
}
Facing the below error -
App Launch And Login options. --
Navigate to just browse in app and Login with Gmail
2022-10-04T17:44:00.627Z ERROR webdriver: Request failed with status 500 due to
unknown error: An unknown server-side error occurred while processing the command.
Original error: Simulator architecture is unsupported by the
'/Users/jule/Desktop/arive/automation/ipa/ariveApp.app' application. Make sure the
correct deployment target has been selected for its compilation in Xcode.
2022-10-04T17:44:00.628Z ERROR webdriver: unknown error: An unknown server-side
error occurred while processing the command. Original error: Simulator architecture is unsupported by the '/Users/jule/Desktop/arive/automation/ipa/ariveApp.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
at getErrorFromResponseBody (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/utils.js:197:12)
at NodeJSRequest._request (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/request/index.js:166:60)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async startWebDriverSession (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/utils.js:67:20)
at async Function.newSession (/Users/jule/Desktop/arive/automation/node_modules/webdriver/build/index.js:46:45)
at async Object.remote (/Users/jule/Desktop/arive/automation/node_modules/webdriverio/build/index.js:77:22)
at async Appium._startBrowser (/Users/jule/Desktop/arive/automation/node_modules/codeceptjs/lib/helper/Appium.js:232:24)
Error: Can't connect to WebDriver.
Error: Failed to create session.
An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the '/Users/jule/Desktop/arive/automation/ipa/ariveApp.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
Please make sure Selenium Server is running and accessible
I wait for element 30
✖ FAILED in 13ms
Please help to resolve this error.
Thanks

pa11y failed to Error: Failed to launch chrome

Getting below error while running "pa11y www.google.com"
Welcome to Pa11y
Running Pa11y on URL www.google.com
Error: Failed to launch chrome!
[1127/090329.278232:FATAL:zygote_host_impl_linux.cc(116)] No usable
sandbox! Update your kernel or see
chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md
for more information on developing with the SUID sandbox. If you want
to live dangerously and need an immediate workaround, you can try
using --no-sandbox.

App authenticity is giving a different error

I am trying to implement app authenticity on android native app. It works fine I am able to get fail on app authenticity failure .. But the problem is I am getting an error saying .
Unexpected errorCode occurred. Please try again.
But what I am expecting is. I was seeing this error before yesterday, But from yesterday I am seeing "Unexpected errorCode occurred. Please try again.". I took an update can that be a cause.
app authenticity security check failed
And I am also seeing below error, even before fail is being called.
07-27 05:30:02.392 15664-15664/com.ds I/MultiDex: VM has multidex support, MultiDex support library is disabled.
07-27 05:30:02.392
15664-15664/com.ds I/MultiDex: install
07-27 05:30:02.392
15664-15664/com.ds I/MultiDex: VM has multidex support, MultiDex
support library is disabled.
07-27 05:30:02.448 15664-15686/com.ds
W/com.worklight.common.Logger:
com.worklight.common.Logger.setContext(Context) must be called to
fully enable debug log capture. Currently, the 'capture' flag is set
but the 'context' field is not. This warning will only be printed
once.
07-27 05:30:03.493 15664-15670/com.ds W/art:
Suspending all threads took: 149.185ms
I was checking the value(App authenticity failure message) by
calling wlFailResponse.getErrorMsg() which was giving me
"Unexpected errorCode occurred. Please try again."
But the actual value(App authenticity failure message) that i am looking for
was in wlFailResponse.getResponseJSON().getString("reason").