Why can't I use Chrome webpages on my android emulator? - reactjs

Why does my emulator screen look like gibberish?
The emulator works fine, but when I try to visit any webpage on chrome using the emulator, it crashes as you can see.
I don't know where else to look, and I need to get this up and running soon, so I can contribute to my companies repository.
I'm hoping somebody with more experience may have had issues with this and experience handling it.
Note: I had to enable SVM and IOMMU in my BIOS to even get the emulator to start on windows. All because I'm using a Ryzen 5 processor.
Also there are no windows options to enable hyper-v.
Thanks in advance!
-Allen

Related

React Application is not loading in developement mode on vite in Google Chrome on Linux Systems (Ubuntu, Manjaro)

while developing a react application on vite, on ubuntu system,
I've encountered an infinite loading of app when try to run it in google chrome.
On the other hand when I start it in firefox it works fine.
May be somebody encountered such a problem and knows a way how to resolve this kind of problem?
This happens only on Linux sys, on Mac or Windows application runs without problems in Chrome Browser.
I tried to increase the limit of watchers of ubuntu system to maximum, but this doesn't help.
I tried to remove all chrome extensions + react dev tools - doesn't help.
I tried to find some information related to this problem in internet, but I can't find any usefull information, that's why i ask you guys. May be somebody knows how to cure this behavior )

Running selenium test through physical device

I work on test automation for a mobile version of a website. I have several tests that I generally run through ChromeDriver or Browserstack. However, what I would really like to do is hook up my phone and run my tests through the phone. I have tried appium but I am starting to realize that it is only used for apps and not mobile versions of websites.. Does anyone have any experience in running tests through a physical device? If so, what tools did you use or do you know of any good online tutorials?
Appium IS for testing websites on mobile devices.
You must pass the appium server the browserName parameter instead of the app parameter.
I suggest reading the appium documentation.
I have used Appium, Selenium Grid and testNG to run parallel tests for websites on real devices, so if you need any further guidance feel free to ask.
Hope this helps,
Liam.
Yes of course you van use Appium for mobile web application test. In fact you can use native browser or chrome browser in Android. And Safari browser in IOS.
If you want to start the web automation for Android i suggest you to follow the following tutorial with the example code.
appium-web-application-automation-in-android
I am writing this off the top of my head, not while I am doing it. This often leads to it not being 100% correct. There might have to be made some adjustments.
iPhone
This is what I have done:
Download and run Appium Server
Install xCode Tools
Run iPhone Simulator
Get your devices ID, in console, type
instruments -s devices
Set capabilities
WebDriverManager.setGlobalExtraCapability("platformName", "iOS");
WebDriverManager.setGlobalExtraCapability("platformVersion", "14.4");
WebDriverManager.setGlobalExtraCapability("deviceName", "iPhone 11");
WebDriverManager.setGlobalExtraCapability("appium:automationName", "xcuitest");
WebDriverManager.setGlobalExtraCapability("appium:udid", "your devices ID");
WebDriverManager.setGlobalExtraCapability("browserName", "Safari");
WebDriver driver = WebDriverManager.getWebDriver();
On the phone you have to set some mode, but I can not find anymore, which one that was. (Please write in comments if you know.)
Run Test
I hope I have not forgotten anything, as this was a process.

How can I best do accurate cross-browser testing on pages?

My goal is to get together a really solid set of testing environments for my web development. I want to leverage more HTML5/CSS3 and need to develop my toolchain better for testing in different browser environments.
I natively work in Ubuntu 14.04 and Windows. I have a mac laptop but can't always have it with me when travelling.
This is how I envision getting all environments on one laptop:
1. Ubuntu Linux (xubuntu/xfce)
2. Virtualbox / Windows
3. Virtualbox / Hackintosh
4. IOS dev environment (virtualbox ?)
5. Android Dev environment (native linux?)
Anyone have input?
This is all spurred by recently viewing one of my sites on an original iPad which still has IOS5 / Safari5. i realized that not just windows technology is crufty anymore. Internet Explorer and Safari are starting to run into many of the same long term web compatibility issues.
Thanks!
try something like https://www.equafy.com?
there is a free plan that shall include all but Mac.

Where can I find mobile emulators to test my website with?

I want to use mobile emulator/simulators to test my website with. I only found Opera Mini (http://www.opera.com/mobile/demo/) and Windows Mobile 6 (http://www.microsoft.com/download/en/details.aspx?id=9263)
Where can I download emulators for more recent mobile devices?
P.S. Please let me know if this does not belong in StackOverflow, thanks.
I found MITE to be most helpful.
Even better, you get a lot of support for the free version, but (if you pay for Pro) you get almost every mobile browser out there, the ability to remotely test (load speed) and a lot of other cool features.

Mobile Phone emulator

Is there a good all in one emulator for testing mobile websites. Just using 'media queries and need to test on predominantly iphone, blackberry, android, and windows 7 phones.
Many thanks,
C
There is no one solution that will work on all these platforms however the SDKs for all include simulators/emulators and the best part is that all but for the iPhone are free.
BlackBerry Simulators
Android Emulator
Windows Phone 7 Emulator
The iPhone SDK also includes a simulator (Mac only) but if you need to test on a PC, you can do a pretty good job using http://iphone4simulator.com/ running in Safari for Windows.
As with all simulator/emulator usage, these are good for initial testing but you need to use an actual device to get true results.
Also note that different BlackBerry devices use different default browsers. Android devices also use varying versions of WebKit so you may see some variation between actual devices which isn't shown in the emulator.
In addition to Matt's reply, I think you should also test the different browsers available for smartphones.
For example the popular Opera mobile: http://www.opera.com/mobile/demo/
You might find http://quirktools.com/screenfly/ very useful for testing mobile websites on different screen sizes. It's not as true as a native emulator, but it allows you to test several phones, tablets, etc. at one site and you don't have to install any software.
try http://www.browserstack.com/. This one is not free, but it gives a trial period of 30 minutes for each account we create
Try Mobile web browser emulator this free tools help you testing mobile websites
If you just want to simulate the mobile device user agent and screen resolutions, also check out chrome's mobile device simulator https://developer.chrome.com/devtools/docs/device-mode#enable-device-mode

Resources