Page 1 of 1

Unable to query dom elements until inspected

Posted: Fri Aug 19, 2022 1:33 am
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?


Re: Unable to query dom elements until inspected

Posted: Fri Aug 19, 2022 11:03 am
by mats

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