I have questions about cypress and BrowserStack
Will anyone have any idea how can I use the argument of --browser in browserstack-cypress run --
browser Chrome#latest: Windows 10, Firefox#latest-1:OS X Catalina command. But this command is not working, I got the error in error: Build creation failed. Error: Chrome latest on Windows is not supported in BrowserStack. See the list of supported browser versions and OS here: https://www.browserstack.com/docs/automate/cypress/browsers-and-os
Not sure why it will be that. Will anyone can help me with this? I will very appreciate it.
Office doc of BrowserStack for the BrowserStack-cypress run command.
https://www.browserstack.com/docs/automate/cypress/cli-reference#generate-configuration-file
Try using
browserstack-cypress run --browser chrome#latest:"Windows 10",firefox#latest-1:"OS X Catalina"
Related
In my Jenkins job I try to install a chrome-extension using
"C:\Program Files\Google\Chrome\Application\chrome.exe" --load-extension="D:\Jenkins\workspace\test\chome_installation\chromeupload" --no-first-run
but the installation always get stuck
6592:13760:0513/113631.656:ERROR:device_event_log_impl.cc(214)] [11:36:31.656] Bluetooth: bluetooth_adapter_winrt.cc:1075 Getting Default Adapter failed.
If I do this directly on the machine from cmd it works fine.
Any idea of the root cause of the issue and how to resolve this?
This is a common error that can be solved by taking a number of steps. Since this isn't a real error, the easiest thing to do is to suppress this error. This article gives all the necessary information on how to do this. Basically, you add
excludeSwitches: ['enable-logging']
Into your chrome options. There is detailed analysis of the problem in this answer.
You could also try updaing Selenium, Chrome, and the ChromeDriver used. The command might work when you run it on the machine from cmd since it doesn't use Selenium or ChromeDriver when you do that. So the reason it gives this error when using Jenkins should be related to either of the two.
I am new to Dart/flutter. I have installed flutter SDK and VS Code on windows 10 machine, updated the system path, run flutter doctor, which shows that flutter is indeed installed (flutter doctor output). I read that installing flutter is enough, and I don't have to install Dart SDK too, as it comes build in with flutter (please correct me if I am wrong).
I wrote a very short Dart code for testing, but I couldn't run it from VS Code terminal (run in terminal output), as it returns the following error: "bash: dart: command not found".
But when I debug the code in VS Code, it returns the expected output (debug output).
Can someone please explain to me if I am doing something wrong, or if I am missing something? Why can't I run the program from the bash terminal?
Thanks
You should enter the full path directory instead of file name. For doing so right click on the dart file then choose Copy Path.
Then run following code on terminal:
dart (paste main file path)
For more information about creating and running Dart console application using VSCode please check out THIS answer.
I would like to run Cypress with the terminal using the Command Line.
However the Chrome I'm running run is set to English.
Which is really odd because when I run the test with the Cypress runner it's run in the native language of my Chrome.
How can I do to set the correct language ?
What I tried so far is :
cypress run --browser chrome -e --LANG=fr-FR
What can I do to set the Chrome in the needed language?
There appears to be a console error every time a Xamarin UI test run on my Pixel with OS 10 on it. The error is as follows "Failure [DELETE_FAILED_INTERNAL_ERROR]" The error does not seem to stop the application from running it more of a question as to why it's occurring and how to fix it.
Thank you for any information.
I think we worked together!
Your Xamarin UITest might be trying to delete some system app using pm uninstall. But if it instead uses
pm uninstall --user 0 com.android.service or adb uninstall --user 0 com.android.service (without opening adb shell), the command is issued as root. So without the extra tags, you should get the error.
To be safer, you can try to find the problematic system app and just disable it in the settings.
I have installed Firefox on my Server (running Debian 6.0) but when I try to launch it I get the following message:
Error: no display specified
After googling I installed xvfb and now I have this error;
Xlib: extension "RANDR" missing on display ":99.0".
and it freezes.
Can anybody help me?
Update: I'm now able to run Firefox, but I don't want it to open up a local window but everything should be done on the server side. It should just open up, play a macro (made with iMacros) and then shut down. The opening and the closing will be handled by a script.
Thanks
You are connecting with SSH to that Debian machine? Then call next time the ssh-command with -X as argument, this will pass the correct display options to the server.
Launch this from your box's xterm:
ssh -X debian-server dbus-launch firefox