Troubleshooting web
- 1 1 - An element is not detectable because of a WebView
- 2 2 - browserPrepareAndOpenForReference command does not work
- 3 3 - How to change chrome version to chrome 110 on local device ?
- 4 4 - Chromedriver issue on Windows
- 5 5 - Firefox browser is not supported for standard URL jobs on mobile
- 6 6 - Website GDSL tests behavior may differ between local device and Test Bench device
1 - An element is not detectable because of a WebView
Websites contain WebViews. With this type of view, the elements inside are not always updated. Consequently, it can be difficult to detect the elements of a web page.
Here is what you can do in this case:
2 - browserPrepareAndOpenForReference
command does not work
This method is a bit special and is only useful for preparing the phone for measurement. This will not necessarily work on all versions of Chrome and Android.
3 - How to change chrome version to chrome 110 on local device ?
In this tutorial, we suggest to use apkmirror. Greenspector cannot be held responsible in the event of a security problem. We can only say that apkmirror is a good alternative to playstore with a serious community. Only community member can publish on the store, you just install an apk with the same signature as your chrome (the command ‘adb install’ will detect if the apk was not signed by google).
While doing website measures on Windows, chromedriver processes may stay open and accumulate after the Testrunner exited and disturb further use. You may need to kill those processes.
When launching a standard URL job on mobile with the Test Runner, only Chrome browser is supported. If you set Firefox browser in the job configuration file, the Test Runner may not fail with an error indicating that the browser is not supported.
When automating your user journey, sometimes a GDSL test will pass on a local device and fail on a Test Bench device or vice versa. Test results may show that there are differences in the dump, the text may be found in the Test Bench device dump and not in a local device dump.
This behavior probably comes from the fact that the local device and the Test Bench device do not have the same Chrome version. Please install chrome 110 on local device Install Chrome 110 on local device