Also add a small utility function to debug element to get an array of native elements, which works smoothly with the toHaveText matcher.
Also add a small utility function to debug element to get an array of native elements, which works smoothly with the toHaveText matcher.