facebook / memlab

A framework for finding JavaScript memory leaks and analyzing heap snapshots
https://facebook.github.io/memlab/
MIT License
4.3k stars 116 forks source link

Can we skip url method in the scenario? #80

Closed rupesh1306 closed 1 year ago

rupesh1306 commented 1 year ago

Hi, In scenario there are three main methods like url, action and back. Can we skip url method or non navigation in url method? The reason for skipping url is, we have popup and popups does not change url and for base screen we want to keep popup and then there is another popup which is going to be open from action method. for login already using beforeInitialLoad method and from there itself we would like to open popup and then action.

JacksonGL commented 1 year ago

Instead of using the beforeInitialLoad + url callbacks, maybe url + setup callbacks could be an alternative? E.g., do initial page load in the url callback and use setup to login and prepare before action