Skip to content

Commit

Permalink
fix: frame command overlapping with subsequent NW commands. (#4276)
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 authored Oct 18, 2024
1 parent 6da64b8 commit 785d52a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/api/protocol/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ const findElement = function(selector) {
};

module.exports = class Session extends ProtocolAction {
static get avoidPrematureParentNodeResolution() {
return true;
}

async command(frameId, callback) {
if (arguments.length === 1 && typeof frameId === 'function') {
callback = frameId;
Expand Down

0 comments on commit 785d52a

Please sign in to comment.