Closed mlipok closed 1 year ago
please assign this issue to me.
btw. I will try to fix it in next few weeks, as this is not a pressing problem.
You may want to consider making your future "fix" conditional. By this I mean allow the existing functionality to continue to exist so that you aren't forcing all frames to fully load. This is essentially providing a list of frames for a given point in time where you can't include a frame in a list if the frame doesn't yet exist.
After some thought. It should be assumed that some websites work dynamically. This means that the user/scripter should first bring the page to a static state.
However, if the website undergoes constant dynamic changes and the number of frames changes (e.g. advertisements appear and disappear), we are not able to ensure that the state of the website at the beginning when the function is called will be constant in time until the completion of the processing by this function , the more so that it is quite a complementary function that performs a lot of operations that can be extended in time even to many seconds.
.....
I think that it should be taken as normal and despite everything (even in the case of an error), try to return the result that has been correctly processed so far, or even otherwise. If the given information is no longer available, leave the field empty, without returning an error.
If you initially agree with this approach, let's say let's leave this task as pending, until other tasks are completed.
I think that it should be taken as normal and despite everything (even in the case of an error), try to return the result that has been correctly processed so far, or even otherwise. If the given information is no longer available, leave the field empty, without returning an error.
If you initially agree with this approach, let's say let's leave this task as pending, until other tasks are completed.
@Danp2 Can you confirm that you agree or do you have other opinion ?
Yes, I see the existing functionality as a "feature" rather than a bug since you can't gather data on an element that doesn't yet exist.
you can't gather data on an element that doesn't yet exist
..... or disappeared during processing.
Bug report
Describe the bug
_WD_FrameList()
gets list of frames which is not always complete. It is due to the fact that Not all frames document are load completly.How to reproduce
use this following code.
When first
_ArrayDisplay
is displayed wait at least 1 minute before you close the displayed array. Compare second_ArrayDisplay
result with the frst result. Also checkwindow.top.document.querySelectorAll('iframe')
in browser console.Expected behavior
Always full list of frames.
Screenshots
Additional context
none
System under test
not related