How to disable security warning in firefox using selenide? - firefox

enter image description here
I am getting this error while i run in firefox(version 42.0). when i check it in chrome , it does not show up.Please help me to resolve this issue.

You can pass through security warning using selenide by the following:
WebDriverRunner.getWebDriver().switchTo().alert().accept();

Related

Getting a weird error in Cypress and unsure what's causing it?

I'm getting this error in Cypress:
[14884:0531/191841.692335:ERROR:system_services.cc(34)] SetApplicationIsDaemon: Error Domain=NSOSStatusErrorDomain Code=-50 "paramErr: error in user parameter list" (-50
Looked it up and can't find information anywhere specific to Cypress, does anyone know what's causing it?
It's not failing my tests, but it's making the build in circleci show a failure :(
Thanks,
Not sure of your config setup but if it's using the default Electron browser I usually get this error. If i change to browser: "chrome" in cypress.run this error message disappears.

Cypress not opening URL and throwing error

I am trying to open a URL using cypress but it is giving error in response
{"error_code":"E0020000","trace_id":"c2ecd944c52b870ca9d4a014f821f4cd"}
Not sure what this error is.
I am using cy.visit("") to launch the URL. I tried this on different browsers but it is giving this error. Please help me with same

Not able to open websites home page using jMeter, getting an error

Not able to open websites home page using jMeter, getting an error
Using following configuration
jmeter version: 2.13
and I just trying to open google page and same error getting while opening my website's page.
Please refer screenshots for settings and results.
Test scenario itself is correct. Seems like something is wrong with JVM. Any info messages in console after start?
Try with google IP instead of hostname to make sure that it's not a DNS issue.
Did you run it with any specific flags like -H or -P? Do you use proxy?

Bad request issue with latest version of selenium and firefox

I am working on phpunit-selenium for browser automation with headless Firefox. I updated both selenium and Firefox to latest version. And it started throwing error for me.
“PHPUnit_Extensions_Selenium2TestCase_WebDriverException: Bad request“
Now I googled for this and found that this issue is related to hosts files:
Unable to call FirefoxDriver constructor
https://code.google.com/p/selenium/issues/detail?id=3280
But I cannot update hosts file due to application restrictions. Is there another way to fix this?
Modifying the profile should resolve the issue for you.
Note that this is a Java code fragment, You would have to do something similar with the php API:
profile.setPreference(FirefoxProfile.ALLOWED_HOSTS_PREFERENCE,"set.myhost.com");

Android error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]

I'm getting this error and don't know how to fix this:
When trying to run an Android app on a real device (NEXUS4(rooted) in my case) I'm getting the following error in the Console:
pkg: /data/local/tmp/test.apk
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
I've try to google this error and have got some solutions:
Delete the source with "android.uid.system".
->The error fixed but I need to use SharedUserID for system permission so I can't take this.
Use platform.pk8 and platform.x509.pem from "build\target\product\security" to signature my app.
->Same error occured.
Add my own UID(the xml below(copied from system)) into packages.xml and reset.
->The app disappeard from my phone after reset. I've no idea why I can't see it.
<shared-user name="android.uid.cc" userId="10910">
<sigs count="1">
<cert index="2" />
</sigs>
<perms>
...
</perms>
</shared-user>
None of these solutions solved the problem.
My andriod version is 4.4.2.
Any help would be greatly appreciated! Thanks.
In other answer INSTALL_FAILED_SHARED_USER_INCOMPATIBLE while using shared user id they describe to do:
I got the solution for now .I followed the steps as follows
1) Removed existing application (if it is already installed )
2) Removed share user ID from android manifest
3) Bulid the application.
4) Now enter share user ID again
5) build the application 1 more time
and It works !!!
Thanks to Hemant
I met this error too, when run application show a dialog, most message is saying
INSTALL_FAILED_SHARED_USER_COMPATIBLE
Except this error above you mentioned, and another error in my logcat is:
Error using StatusBarManagerService - java.lang.SecurityException on android.permission.STATUS_BAR
Lastly, add platform debug key fixed it.

Resources