Get help with testing, discuss unit testing strategies etc.


Post by paulmogolabs »

If I run a test and then use the queryselector to search for an element it will return null in both siesta and the dev console unless I inspect the element first the developer console will find the element

Edit, i've found the issue and that it is using the top frame instead of the frame of the application, how do I get it to change frames?


Post by mats »

You mean inside Chrome dev tools? See attached image with the frame combo box:

Attachments
Screenshot 2022-08-19 at 11.03.04.png
Screenshot 2022-08-19 at 11.03.04.png (101.39 KiB) Viewed 1908 times

Post Reply